Skip to content

Commit

Permalink
SAVEPOINT
Browse files Browse the repository at this point in the history
  • Loading branch information
dennisdoomen committed Oct 13, 2024
1 parent ed22799 commit 6958133
Showing 1 changed file with 34 additions and 2 deletions.
36 changes: 34 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand All @@ -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"

0 comments on commit 6958133

Please sign in to comment.