Skip to content

Commit

Permalink
Publishing report as artifact (#29)
Browse files Browse the repository at this point in the history
  • Loading branch information
bmingles committed Jul 18, 2024
1 parent 2932aa0 commit 1d4e69e
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,15 @@ jobs:
- name: Merge reports
run: npx ctrf merge e2e/reports --output ctrf-report.json
- name: Publish Test Summary Results
# There doesn't seem to be a way to configure the number of retention
# days here, but we can configure it in the repository settings.
run: |
npm run gh:ctrf -- e2e/reports/ctrf-report.json
cp $GITHUB_STEP_SUMMARY e2e-summary.html
- name: Upload Summary as Artifact
uses: actions/upload-artifact@v4
with:
name: e2e-summary
path: e2e-summary.html
retention-days: 1
- name: Publish Summary as PR Comment
uses: thollander/actions-comment-pull-request@v2
with:
Expand Down

0 comments on commit 1d4e69e

Please sign in to comment.