diff --git a/.github/workflows/checkCI.yml b/.github/workflows/checkCI.yml index 3c431d04e3..415896cefa 100644 --- a/.github/workflows/checkCI.yml +++ b/.github/workflows/checkCI.yml @@ -95,12 +95,13 @@ jobs: TESTDIR: ${{ github.workspace }}/.CI/Test - name: Run tests run: ctest --test-dir build --build-config ${{ matrix.configuration }} --verbose --output-junit junit-${{ matrix.compiler }}.xml - - name: Publish test report - uses: mikepenz/action-junit-report@v4 - if: success() || failure() # always run even if the previous step fails + - name: Upload test report + uses: actions/upload-artifact@v3 + if: always() # always run even if the previous step fails with: - report_paths: '**/build/junit-*.xml' - annotate_only: true + name: junit-test-results + path: '**/build/junit-*.xml' + retention-days: 1 html_documentation_checks: name: html-documentation-checks diff --git a/.github/workflows/reportCI.yml b/.github/workflows/reportCI.yml new file mode 100644 index 0000000000..6ceaa72d4b --- /dev/null +++ b/.github/workflows/reportCI.yml @@ -0,0 +1,26 @@ +name: CI report + +on: + workflow_run: + workflows: [CI] + types: [completed] + +permissions: + checks: write + +jobs: + checks: + runs-on: ubuntu-latest + steps: + - name: Download test report + uses: dawidd6/action-download-artifact@v3 + with: + name: junit-test-results + workflow: ${{ github.event.workflow.id }} + run_id: ${{ github.event.workflow_run.id }} + - name: Publish test teport + uses: mikepenz/action-junit-report@v3 + with: + commit: ${{github.event.workflow_run.head_sha}} + report_paths: '**/build/junit-*.xml' + annotate_only: true