From 92c60ae35bb549770c983085664b3d37d389f908 Mon Sep 17 00:00:00 2001 From: "Shahid N. Shah" Date: Fri, 20 Oct 2023 13:09:38 -0400 Subject: [PATCH] chore: add debugging output to CICD --- .github/workflows/assurance.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/assurance.yml b/.github/workflows/assurance.yml index eedffde4..e9289ffa 100644 --- a/.github/workflows/assurance.yml +++ b/.github/workflows/assurance.yml @@ -23,6 +23,11 @@ jobs: - run: deno task doctor + - run: | + echo "PRAGMA compile_options;" | sqlite3 + echo "PRAGMA compile_options;" | sqlite3 | grep -q 'ENABLE_JSON1' && echo 'JSON1 extension is enabled' || echo 'JSON1 extension is NOT enabled' + echo "SELECT json('{\"foo\":\"bar\"}');" | sqlite3 || (echo 'JSON functions are NOT supported' && false) + # syntax check all files in case tests don't exist - run: deno check --no-lock --unstable $(find . -name '*.ts' -not -path './support/*')