File tree Expand file tree Collapse file tree 1 file changed +44
-0
lines changed
Expand file tree Collapse file tree 1 file changed +44
-0
lines changed Original file line number Diff line number Diff line change 1+ on :
2+ push :
3+ branches :
4+ - main
5+ pull_request :
6+ branches :
7+ - main
8+
9+ jobs :
10+ setup-and-run :
11+ runs-on : ubuntu-latest
12+
13+ steps :
14+ - name : Checkout repository
15+ uses : actions/checkout@v3
16+
17+ - name : Set up Docker
18+ uses : docker/setup-buildx-action@v2
19+
20+ - name : Install Aztec CLI
21+ run : |
22+ curl -s https://install.aztec.network > tmp.sh
23+ bash tmp.sh <<< yes "yes"
24+
25+ - name : Update path
26+ run : echo "/home/runner/.aztec/bin" >> $GITHUB_PATH
27+
28+ - name : Set Aztec version and start sandbox
29+ run : |
30+ VERSION=0.68.0 aztec-up
31+ aztec start --sandbox &
32+
33+ - name : Install project dependencies
34+ run : yarn
35+
36+ - name : Compile, generate code, and run tests
37+ run : script -e -c "${AZTEC_NARGO:-aztec-nargo} compile"
38+
39+ - name : Codegen
40+ run : script -e -c "aztec codegen target --outdir src/artifacts"
41+
42+ - name : Run tests
43+ run : script -e -c "NODE_NO_WARNINGS=1 node --experimental-vm-modules $(yarn bin jest) --no-cache --runInBand --config jest.integration.config.json && aztec test"
44+
You can’t perform that action at this time.
0 commit comments