Skip to content

Commit

Permalink
ci(e2e): Add E2E result summary to job summary to make it faster to f…
Browse files Browse the repository at this point in the history
…ind flaky tests. (#1836)
  • Loading branch information
corneliusroemer authored May 9, 2024
1 parent 2f62946 commit f156c6c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/e2e-k3d.yml
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,11 @@ jobs:
- name: Sleep for 10 secs
run: sleep 10
- name: Run E2E test
run: cd website && npm run e2e
run: |
cd website && npm run e2e 2>&1 | tee output.txt
echo '```' >> $GITHUB_STEP_SUMMARY
sed -n '/Running [0-9]\+ tests/,$p' output.txt >> $GITHUB_STEP_SUMMARY
echo '```' >> $GITHUB_STEP_SUMMARY
- uses: actions/upload-artifact@v4
if: ${{ failure() }}
with:
Expand Down

0 comments on commit f156c6c

Please sign in to comment.