Skip to content
Snippets Groups Projects
Commit e886bc59 authored by Luca Moser's avatar Luca Moser
Browse files

run consensus integration test on the CI

parent 5747d3ee
Branches
No related tags found
No related merge requests found
...@@ -73,6 +73,40 @@ jobs: ...@@ -73,6 +73,40 @@ jobs:
name: ${{ env.TEST_NAME }} name: ${{ env.TEST_NAME }}
path: tools/integration-tests/logs path: tools/integration-tests/logs
consensus:
name: consensus
env:
TEST_NAME: consensus
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v2
- name: Build GoShimmer image
run: docker build -t iotaledger/goshimmer .
- name: Pull additional Docker images
run: |
docker pull angelocapossele/drand:latest
docker pull gaiaadm/pumba:latest
docker pull gaiadocker/iproute2:latest
- name: Run integration tests
run: docker-compose -f tools/integration-tests/tester/docker-compose.yml up --abort-on-container-exit --exit-code-from tester --build
- name: Create logs from tester
if: always()
run: |
docker logs tester &> tools/integration-tests/logs/tester.log
- name: Save logs as artifacts
if: always()
uses: actions/upload-artifact@v1
with:
name: ${{ env.TEST_NAME }}
path: tools/integration-tests/logs
drng: drng:
name: drng name: drng
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment