Skip to content

Commit

Permalink
fix: remove e2e test from check PRs (#411)
Browse files Browse the repository at this point in the history
  • Loading branch information
daveroga authored Jan 17, 2022
1 parent 64432c1 commit 2ffa2c4
Showing 1 changed file with 1 addition and 40 deletions.
41 changes: 1 addition & 40 deletions .github/workflows/check-PRs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,46 +17,7 @@ jobs:
run: |
npm ci
npm run lint
e2e-test:
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@master
- uses: actions/setup-node@v1
with:
node-version: '14.17.0'

- name: Start Containers
run: |
docker-compose build
./start-nightfall -g &> e2e-test.log &disown
- name: wait 1500s for Containers startup and setup completion
run: sleep 1500

- name: debug logs - after container startup
if: always()
run: cat e2e-test.log

- name: Run integration test
run: |
npm ci
npm run test-e2e
- name: debug logs - after integration test run
if: always()
run: cat e2e-test.log

- name: If integration test failed, shutdown the Containers
if: failure()
run: docker-compose -f docker-compose.yml -f docker-compose.ganache.yml down -v

- name: If integration test failed, upload logs files as artifacts
if: failure()
uses: actions/upload-artifact@master
with:
name: e2e-test-logs
path: ./e2e-test.log
ganache-test:
runs-on: ubuntu-18.04
steps:
Expand Down

0 comments on commit 2ffa2c4

Please sign in to comment.