From 7c544b7d1381613b302cdfcf6f657064fdf7e34b Mon Sep 17 00:00:00 2001 From: HAOYUatHZ <37070449+HAOYUatHZ@users.noreply.github.com> Date: Thu, 22 Jun 2023 21:15:54 +0800 Subject: [PATCH] ci: refactor github workflow --- .github/workflows/ci.yml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8ab64597..cd87d1b5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,13 +18,12 @@ jobs: - name: Build run: cargo build --verbose - name: Run halo2-base tests + working-directory: 'halo2-base' run: | - cd halo2-base cargo test -- --test-threads=1 - cd .. - name: Run halo2-ecc tests MockProver + working-directory: 'halo2-ecc' run: | - cd halo2-ecc cargo test -- --test-threads=1 test_fp cargo test -- test_ecc cargo test -- test_secp @@ -35,10 +34,9 @@ jobs: cargo test -- test_sm cargo test -- test_fb cargo test -- test_pairing - cd .. - name: Run halo2-ecc tests real prover + working-directory: 'halo2-ecc' run: | - cd halo2-ecc cargo test --release -- test_fp_assert_eq cargo test --release -- --nocapture bench_secp256k1_ecdsa cargo test --release -- --nocapture bench_ec_add @@ -48,4 +46,3 @@ jobs: cargo test --release -- --nocapture bench_msm mv configs/bn254/bench_pairing.t.config configs/bn254/bench_pairing.config cargo test --release -- --nocapture bench_pairing - cd ..