From 0b0b2e9c5e04d12a65750dfc2a2b48d85e8e8f6c Mon Sep 17 00:00:00 2001 From: Julian Simioni Date: Tue, 21 Jan 2025 17:51:50 -0500 Subject: [PATCH 1/2] Validate that all test cases are at least valid JSON --- .github/workflows/push.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index 4eceb77..4afc7c5 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -19,3 +19,4 @@ jobs: run: | npm install npm run lint && npm ls + jq . test_cases/*.json From 0de80e3bf6f3082dda6d8d89a1c8a447c6fc6cf4 Mon Sep 17 00:00:00 2001 From: Julian Simioni Date: Tue, 21 Jan 2025 17:54:05 -0500 Subject: [PATCH 2/2] Only show errors in JSON --- .github/workflows/push.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index 4afc7c5..5d273ec 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -19,4 +19,4 @@ jobs: run: | npm install npm run lint && npm ls - jq . test_cases/*.json + jq . test_cases/*.json > /dev/null