-
Notifications
You must be signed in to change notification settings - Fork 3
46 lines (42 loc) · 1.17 KB
/
testing-integration.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: Integration Tests
on: [push]
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
- name: Install dependencies
run: |
yarn
- name: Compile and lint
run: |
yarn run build
yarn run lint
- name: Check code formatting
run: yarn format:check
- uses: nevermined-io/[email protected]
with:
token: ${{ secrets.API_TOKEN_GITHUB }}
estuary: 'true'
node: 'false'
- name: Check artifacts
run: |
nvm-tools copy-artifacts ./artifacts
ls -l artifacts
nvm-tools copy-circuits ./circuits
ls -l circuits
- name: Run node
run: |
yarn setup:dev
yarn start &
# wait for node to start
wget --retry-connrefused --tries=20 http://localhost:8030
- name: Run tests
run: |
# HDWalletProvider keeps jest from exiting
yarn integration --detectOpenHandles