test-push: Remove test reporting

This commit is contained in:
Juuz
2023-11-17 18:26:44 +02:00
parent 229f073492
commit 63b47619ec

View File

@@ -65,13 +65,6 @@ jobs:
env:
TEST_WARNING_MODE: fail
id: test
- name: Publish test results for report
uses: actions/upload-artifact@v3
if: ${{ failure() || success() }}
with:
name: Raw Test Results
path: build/test-results/**/*.xml
retention-days: 1
- uses: actions/upload-artifact@v3
if: ${{ failure() }}
@@ -106,13 +99,6 @@ jobs:
env:
TEST_WARNING_MODE: fail
id: test
- name: Publish test results for report
uses: actions/upload-artifact@v3
if: ${{ failure() || success() }}
with:
name: Raw Test Results
path: build/test-results/**/*.xml
retention-days: 1
- uses: actions/upload-artifact@v3
if: ${{ failure() }}
@@ -144,30 +130,9 @@ jobs:
distribution: 'temurin'
- run: ./gradlew test --tests *ReproducibleBuildTest --stacktrace --warning-mode fail
- name: Publish test results for report
uses: actions/upload-artifact@v3
if: ${{ failure() || success() }}
with:
name: Raw Test Results
path: build/test-results/**/*.xml
retention-days: 1
- uses: actions/upload-artifact@v3
if: ${{ failure() }}
with:
name: Reproducible Build ${{ matrix.os }} (${{ matrix.java }}) Results
path: build/reports/
test_report:
runs-on: ubuntu-latest
needs: [run_tests, run_tests_windows, reproducible_build_test]
if: ${{ failure() || success() }}
steps:
- name: Download artifacts
uses: actions/download-artifact@v3
with:
path: artifacts
- name: Publish test report
uses: EnricoMi/publish-unit-test-result-action@v2
with:
junit_files: "artifacts/**/*.xml"