From 45858a4b2fcc7b297851dc6552da81a2f98dd8db Mon Sep 17 00:00:00 2001 From: Florian Date: Wed, 18 Sep 2024 08:42:14 +0200 Subject: [PATCH] run regression tests in parallel --- .github/workflows/build-action.yml | 3 ++- run-ci-tests.sh | 10 +++++++--- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-action.yml b/.github/workflows/build-action.yml index 6aa2ee3974..f48acc4c35 100644 --- a/.github/workflows/build-action.yml +++ b/.github/workflows/build-action.yml @@ -67,7 +67,8 @@ jobs: 'DEX integration tests', 'DEX integration test with proofs', 'Voting integration tests', - 'Verification Key Regression Check', + 'Verification Key Regression Check 1', + 'Verification Key Regression Check 2', 'CommonJS test', ] steps: diff --git a/run-ci-tests.sh b/run-ci-tests.sh index 7f1875dac0..c4aa4a133d 100755 --- a/run-ci-tests.sh +++ b/run-ci-tests.sh @@ -33,12 +33,16 @@ case $TEST_TYPE in ./run src/examples/zkapps/dex/happy-path-with-proofs.ts --bundle ;; -"Verification Key Regression Check") - echo "Running Regression checks" +"Verification Key Regression Check 1") + echo "Running Regression checks part 1" VK_TEST=1 ./run ./tests/vk-regression/vk-regression.ts --bundle - VK_TEST=2 ./run ./tests/vk-regression/vk-regression.ts --bundle ;; +"Verification Key Regression Check 2") + echo "Running Regression checks part 2" + VK_TEST=2 ./run ./tests/vk-regression/vk-regression.ts --bundle + ;; + "CommonJS test") echo "Testing CommonJS version" node src/examples/commonjs.cjs