-
Notifications
You must be signed in to change notification settings - Fork 4
46 lines (38 loc) · 1015 Bytes
/
zksync-test.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
name: ZKSync Escrow Tests
on:
push:
branches:
- main
- develop
pull_request:
types: [opened, synchronize, reopened]
jobs:
test-ZKSync:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
# ZKSync Setup
- name: Install ZKSync libraries
run: |
cd ./contracts/zksync/ && yarn install
- name: Setup Node
uses: actions/setup-node@v2
with:
node-version: '20.11.1'
cache: 'npm'
cache-dependency-path: '**/.github/workflows/*.yml'
- name: Download zksync-cli
run: |
npx zksync-cli --version
# Build ZKSync Contract
- name: Build ZKSync Contract
run: |
make zksync-build
- name: Run make zksync-test
run: |
echo "Starting ZKSync in-memory node"
npx zksync-cli dev start
echo sleeping 30 for in-memory-node setup
sleep 30
make zksync-test-in-memory
exit 0