Skip to content

test: fix tests

test: fix tests #9747

name: Run integration tests 2 for any chain (peg)
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_any_chain.sh
- name: Archive logs from test
uses: actions/upload-artifact@v2
if: always()
with:
name: testlogs2
path: test/integration