-
Notifications
You must be signed in to change notification settings - Fork 0
49 lines (46 loc) · 1.3 KB
/
testing.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
name: Testing
on:
push:
branches: [main, develop]
pull_request:
branches: [main, develop]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Reclaim some disk space
run: docker system prune --all --volumes -f
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
- uses: nevermined-io/nvm-tools-actions@v0.15.0
with:
token: ${{ secrets.API_TOKEN_GITHUB }}
opengsn: 'true'
estuary: 'true'
frost: 'true'
# TODO: Update to tagged versions when everything is relased and in main branches
contracts-version: 'v3.5.4'
frost-version: 'latest'
- name: Install dependencies
run: |
yarn
- name: Copy artifacts
run: |
nvm-tools copy-artifacts ./artifacts
nvm-tools copy-circuits ./circuits
ls -l ./artifacts
- name: Run integration tests
env:
NO_GRAPH: true
SEED_WORDS: ${{ secrets.TEST_MNEMONIC }}
run: |
ls circuits
yarn test
- name: Upload logs
uses: actions/upload-artifact@v2
if: failure()
with:
name: nevermined-tools-output
path: tools/nevermined_tools.txt