-
Notifications
You must be signed in to change notification settings - Fork 10
57 lines (45 loc) · 1.33 KB
/
run_tests.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
name: run-tests
on:
pull_request:
concurrency:
group: ${{
( github.ref == 'refs/heads/master' &&
format('{0}/{1}', github.run_id, github.run_attempt) )
||
format('{0}/{1}', github.workflow, github.ref) }}
cancel-in-progress: true
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
- name: Install node dependencies
run: |
npm install
- name: Hadrhat tests
run: |
npx hardhat test
- name: Hadrhat deploy
run: |
npx hardhat deploy
- name: Verification of all zkllvm proofs
run: |
npx hardhat verify-circuit-proof-all