mirror of
https://github.com/IT4Change/boilerplate-e2e-cypress-cucumber.git
synced 2025-12-13 04:55:50 +00:00
set current pr number in e2e test workflow
This commit is contained in:
parent
262ad19bcd
commit
5fcec2879f
16
.github/workflows/e2e.run.tests.yml
vendored
16
.github/workflows/e2e.run.tests.yml
vendored
@ -20,13 +20,13 @@ jobs:
|
|||||||
cd cypress/
|
cd cypress/
|
||||||
node create-cucumber-html-report.js
|
node create-cucumber-html-report.js
|
||||||
|
|
||||||
|
- name
|
||||||
|
uses: jwalton/gh-find-current-pr@master
|
||||||
|
id: pr-number
|
||||||
|
|
||||||
- name: E2E | if tests failed, upload report
|
- name: E2E | if tests failed, upload report
|
||||||
if: ${{ failure() && steps.e2e-run.conclusion == 'failure' }}
|
if: ${{ failure() && steps.e2e-run.conclusion == 'failure' }}
|
||||||
run: |
|
uses: actions/upload-artifact@v4
|
||||||
echo github.event.number = ${{ github.event.number }}
|
with:
|
||||||
echo github.event.pull_request.number = ${{ github.event.pull_request.number }}
|
name: boilerplate-e2e-test-report-pr-${{ steps.pr-number.outputs.pr }}
|
||||||
echo github.event.issue.number = ${{ github.event.issue.number }}
|
path: /home/runner/work/boilerplate-e2e-cypress-cucumber/boilerplate-e2e-cypress-cucumber/cypress/reports/e2e_html_report
|
||||||
# uses: actions/upload-artifact@v4
|
|
||||||
# with:
|
|
||||||
# name: boilerplate-e2e-test-report-pr-${{ github.event.number }}
|
|
||||||
# path: /home/runner/work/boilerplate-e2e-cypress-cucumber/boilerplate-e2e-cypress-cucumber/cypress/reports/e2e_html_report
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user