Skip to content

test: fix unit test #9759

test: fix unit test

test: fix unit test #9759

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.21"
- 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