Skip to content

Commit

Permalink
CI: new job to upload HTML test reports even if tests fail (#7555)
Browse files Browse the repository at this point in the history
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
  • Loading branch information
fab-10 authored Sep 2, 2024
1 parent 4c4f2f3 commit d370550
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/acceptance-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,12 @@ jobs:
with:
name: acceptance-node-${{matrix.runner_index}}-test-results
path: 'acceptance-tests/tests/build/test-results/**/TEST-*.xml'
- name: Upload Acceptance Test HTML Reports
uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3
if: success() || failure()
with:
name: acceptance-node-${{matrix.runner_index}}-test-html-reports
path: 'acceptance-tests/tests/build/reports/tests/**'
accepttests-passed:
name: "accepttests-passed"
runs-on: ubuntu-22.04
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/pre-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,12 @@ jobs:
with:
name: unit-${{matrix.runner_index}}-test-results
path: '**/test-results/**/TEST-*.xml'
- name: Upload Unit Test HTML Reports
uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3
if: success() || failure()
with:
name: unit-${{matrix.runner_index}}-test-html-reports
path: '**/build/reports/tests/test/**'
unittests-passed:
name: "unittests-passed"
runs-on: ubuntu-22.04
Expand Down

0 comments on commit d370550

Please sign in to comment.