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
fcc39d950f
commit
2a5facd297
4
.github/workflows/test_e2e.yml
vendored
4
.github/workflows/test_e2e.yml
vendored
@ -56,10 +56,12 @@ jobs:
|
||||
run: |
|
||||
cd e2e-tests/
|
||||
yarn run cypress run
|
||||
node create-cucumber-html-report.js
|
||||
|
||||
- name: End-to-end tests | if tests failed, upload report
|
||||
if: ${{ failure() && steps.e2e-tests.conclusion == 'failure' }}
|
||||
run: |
|
||||
cd e2e-tests/
|
||||
node create-cucumber-html-report.js
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: cypress-report-PR-${{ github.event.number }}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user