CI: new job to upload HTML test reports even if tests fail (#7555)

Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
pull/7566/head
Fabio Di Fabio 3 months ago committed by GitHub
parent 4c4f2f3362
commit d3705506b6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 6
      .github/workflows/acceptance-tests.yml
  2. 6
      .github/workflows/pre-review.yml

@ -85,6 +85,12 @@ jobs:
with: with:
name: acceptance-node-${{matrix.runner_index}}-test-results name: acceptance-node-${{matrix.runner_index}}-test-results
path: 'acceptance-tests/tests/build/test-results/**/TEST-*.xml' 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: accepttests-passed:
name: "accepttests-passed" name: "accepttests-passed"
runs-on: ubuntu-22.04 runs-on: ubuntu-22.04

@ -141,6 +141,12 @@ jobs:
with: with:
name: unit-${{matrix.runner_index}}-test-results name: unit-${{matrix.runner_index}}-test-results
path: '**/test-results/**/TEST-*.xml' 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: unittests-passed:
name: "unittests-passed" name: "unittests-passed"
runs-on: ubuntu-22.04 runs-on: ubuntu-22.04

Loading…
Cancel
Save