From 6958133d061ca5e95c0d3a2d16d50cbd2b01cfd1 Mon Sep 17 00:00:00 2001 From: Dennis Doomen Date: Sun, 13 Oct 2024 15:15:43 +0200 Subject: [PATCH] SAVEPOINT --- .github/workflows/build.yml | 36 ++++++++++++++++++++++++++++++++++-- 1 file changed, 34 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0dd41d5f29..12bb4d5aac 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -49,11 +49,15 @@ jobs: file: TestResults/reports/lcov.info - name: Upload artifacts + if: always() uses: actions/upload-artifact@v4 with: - path: ./Artifacts/* - only-unit-tests: + name: windows-artifacts + path: | + ./Artifacts/* + ./TestResults/*.trx + only-unit-tests: strategy: matrix: os: [ubuntu-24.04, macos-15] @@ -75,3 +79,31 @@ jobs: - name: Run NUKE run: ./build.sh UnitTests + + - name: Upload artifacts + if: always() + uses: actions/upload-artifact@v4 + with: + name: macos-linux-artifacts + path: | + ./TestResults/*.trx + + publish-test-results: + name: "Publish Tests Results" + needs: [ build, only-unit-tests ] + runs-on: ubuntu-latest + permissions: + checks: write + pull-requests: write + if: always() + + steps: + - name: Download Artifacts + uses: actions/download-artifact@v4 + with: + path: artifacts + + - name: Publish Test Results + uses: EnricoMi/publish-unit-test-result-action@v2 + with: + files: "artifacts/TestResults/*.trx"