-
Notifications
You must be signed in to change notification settings - Fork 117
48 lines (47 loc) · 1.41 KB
/
integrationtest1.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
name: Run integration tests 1
on:
push:
paths-ignore:
- "ui/**"
jobs:
integration:
timeout-minutes: 40
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v2
with:
repository: Sifchain/sifchain-devops
path: deploy
token: "${{ secrets.GIT_PAT }}"
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.8.10'
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 'v16.20.2'
- name: Setup Go
uses: actions/setup-go@v4
with:
go-version: '1.18.10'
- name: Set up linux environment
run: # installs development tools and updates .bash_profile
bash test/integration/setup-linux-environment.sh
- name: Setup integration test environment
run: |
source $HOME/.bash_profile
bash test/integration/start-integration-env.sh
- name: Execute test chain integration tests
run: |
source $HOME/.bash_profile
. test/integration/vagrantenv.sh
export LOG_LEVEL=DEBUG
bash test/integration/execute_integration_tests_against_test_chain_peg.sh
- name: Archive logs from test
uses: actions/upload-artifact@v2
if: always()
with:
name: testlogs1
path: test/integration