mirror of
https://github.com/IT4Change/gradido.git
synced 2026-02-06 09:56:05 +00:00
move e2e test htmlreport creation to failure step
This commit is contained in:
parent
2a5facd297
commit
7695ca4e43
6
.github/workflows/test_e2e.yml
vendored
6
.github/workflows/test_e2e.yml
vendored
@ -53,10 +53,16 @@ jobs:
|
||||
|
||||
- name: End-to-end tests | run tests
|
||||
id: e2e-tests
|
||||
if: ${{ failure() && steps.e2e-tests.conclusion == 'failure' }}
|
||||
run: |
|
||||
cd e2e-tests/
|
||||
yarn run cypress run
|
||||
|
||||
- name: End-to-end tests | if tests failed, compile html report
|
||||
run: |
|
||||
cd e2e-tests/
|
||||
node create-cucumber-html-report.js
|
||||
|
||||
- name: End-to-end tests | if tests failed, upload report
|
||||
if: ${{ failure() && steps.e2e-tests.conclusion == 'failure' }}
|
||||
run: |
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user