mirror of
https://github.com/IT4Change/gradido.git
synced 2026-02-06 01:46:07 +00:00
use pr number for e2e test report zip
This commit is contained in:
parent
20f684515c
commit
306f01845e
6
.github/workflows/test_e2e.yml
vendored
6
.github/workflows/test_e2e.yml
vendored
@ -60,10 +60,14 @@ jobs:
|
||||
cd e2e-tests/
|
||||
node create-cucumber-html-report.js
|
||||
|
||||
- name: End-to-end tests | if tests failed, get pr number
|
||||
id: pr
|
||||
if: ${{ failure() && steps.e2e-tests.conclusion == 'failure' }}
|
||||
uses: 8BitJonny/gh-get-current-pr@2.2.0
|
||||
|
||||
- name: End-to-end tests | if tests failed, upload report
|
||||
id: e2e-report
|
||||
if: ${{ failure() && steps.e2e-tests.conclusion == 'failure' }}
|
||||
uses: 8BitJonny/gh-get-current-pr@2.2.0
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: cypress-report-pr-#${{ steps.e2e-report.outputs.number }}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user