-
Notifications
You must be signed in to change notification settings - Fork 1
47 lines (39 loc) · 1.14 KB
/
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
47
name: Run tests
on:
push:
branches:
- main
- master
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- uses: dfinity/setup-dfx@main
with:
dfx-version: 0.17.0
- name: install vessel
run: |
mkdir -p /home/runner/bin
echo "/home/runner/bin" >> $GITHUB_PATH
wget --output-document /home/runner/bin/vessel https://github.com/kritzcreek/vessel/releases/download/v0.7.0/vessel-linux64
chmod +x /home/runner/bin/vessel
- name: install mops
run: npm i ic-mops -g
- name: npm install
run: npm install
- name: git submodule update
run: git submodule update --init
- name: create set-deploy-env.zsh
run: |
touch set-deploy-env.zsh
echo export 'WALLET_ADDRESS="e82226d3101bd8525111e2c6501a79365f2484d82d3f2be96269b78fe200eeaa"' > set-deploy-env.zsh
- name: test
run: |
npm run replica
mops test -r files
npm test