From afac9558f05955a955f1875131654420a9e2767c Mon Sep 17 00:00:00 2001 From: x-mass <36629999+x-mass@users.noreply.github.com> Date: Tue, 19 Dec 2023 17:51:48 +0700 Subject: [PATCH] Add SyncWith handler This will allow consistent testing with other modules. E.g. zkLLVM --- .github/workflows/run_tests.yml | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/.github/workflows/run_tests.yml b/.github/workflows/run_tests.yml index 4780894..786412f 100644 --- a/.github/workflows/run_tests.yml +++ b/.github/workflows/run_tests.yml @@ -13,11 +13,30 @@ concurrency: jobs: + handle-syncwith: + name: Call Reusable SyncWith Handler + uses: NilFoundation/ci-cd/.github/workflows/reusable-handle-syncwith.yml@v1.1.2 + with: + ci-cd-ref: 'v1.1.2' + secrets: inherit + + run-tests: runs-on: [ ubuntu-22.04 ] + needs: + - handle-syncwith steps: - uses: actions/checkout@v3 + - name: Checkout modules to specified refs + if: needs.handle-syncwith.outputs.prs-refs != '' + uses: NilFoundation/ci-cd/actions/recursive-checkout@v1.1.2 + with: + paths: | + ${{ github.workspace }}/** + !${{ github.workspace }}/**/.git/** + refs: ${{ needs.handle-syncwith.outputs.prs-refs }} + - name: Setup Node.js environment uses: actions/setup-node@v3.6.0 @@ -32,7 +51,7 @@ jobs: - name: Hadrhat deploy run: | npx hardhat deploy - + - name: Verification of all zkllvm proofs run: | npx hardhat verify-circuit-proof-all