Skip to content

Commit

Permalink
Add test results publish step
Browse files Browse the repository at this point in the history
  • Loading branch information
Fabricio-ESP committed Oct 3, 2024
1 parent 40ddafb commit 3f1bb3d
Showing 1 changed file with 26 additions and 3 deletions.
29 changes: 26 additions & 3 deletions .github/workflows/build_and_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest, macos-12]
# os: [ubuntu-latest, windows-latest, macos-latest, macos-12]
os: [ubuntu-latest]

steps:
- name: Checkout repository
Expand Down Expand Up @@ -197,7 +198,8 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
os: [ubuntu-latest]
# os: [ubuntu-latest, windows-latest]

steps:
- name: Checkout repository
Expand Down Expand Up @@ -257,5 +259,26 @@ jobs:
uses: actions/upload-artifact@v4
if: always()
with:
name: test-results-${{ matrix.os }}
name: test-results-${{ matrix.os }}.zip
path: ./tests/results.xml

- name: Publish Test Results (Linux)
uses: EnricoMi/publish-unit-test-result-action@v2
if: runner.os == 'Linux'
with:
files: |
./tests/results.xml
- name: Publish Test Results (Windows)
uses: EnricoMi/publish-unit-test-result-action/windows@v2
if: runner.os == 'Windows'
with:
files: |
./tests/results.xml
- name: Publish Test Results (MacOS)
uses: EnricoMi/publish-unit-test-result-action/macos@v2
if: runner.os == 'macOS'
with:
files: |
./tests/results.xml

0 comments on commit 3f1bb3d

Please sign in to comment.