forked from vechain/thor
-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (35 loc) · 984 Bytes
/
integration-tests.yaml
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
name: Integration Tests
on: [push, pull_request]
permissions:
checks: write
pull-requests: write
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
integration_tests:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 18
- name: Run Tests
working-directory: integration_tests
run: |
yarn install
yarn test
- name: Publish to Action
uses: dorny/test-reporter@v1
if: success() || failure() # run this step even if previous step failed
with:
name: Integration Tests
only-summary: 'false'
list-suites: 'all'
list-tests: 'all'
fail-on-error: 'true'
reporter: 'mocha-json'
path: |
integration_tests/results.json