-
Notifications
You must be signed in to change notification settings - Fork 20
43 lines (40 loc) · 1.27 KB
/
integration-tests.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
name: integration tests (Kintsugi)
on:
pull_request:
branches:
- master
concurrency:
group: ${{ github.ref }}_kintsugi
cancel-in-progress: true
# NOTE: instant-seal is only compatible with the testnet-kintsugi runtime
# SEE: https://github.com/interlay/interbtc/issues/955
# TODO: run tests using testnet-interlay runtime
jobs:
test:
runs-on: [self-hosted, linux]
timeout-minutes: 10
steps:
- uses: actions/checkout@v3
- name: setup node
uses: actions/setup-node@v3
with:
node-version: "18"
- run: corepack enable
- run: yarn install
- name: Check versions
run: |
yarn --version
npx node --version
npx ts-node --version
- name: Run required services
run: docker-compose up --detach
- run: yarn ci:test
- name: Archive Docker logs
if: always()
run: docker-compose logs > logs.txt
- name: Upload logs
if: always()
uses: actions/upload-artifact@v3
with:
name: docker-compose-logs
path: logs.txt