Skip to content

Commit

Permalink
Made the check of unit test outputs OS agnostic
Browse files Browse the repository at this point in the history
  • Loading branch information
Rory Barnes committed Sep 4, 2024
1 parent 73d1e51 commit f5c2a94
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:
if: ${{ matrix.os == 'ubuntu-22.04' && matrix.python-version == '3.9' }}
uses: andstor/file-existence-action@v3
with:
files: "/home/runner/work/vplanet/vplanet/junit/test-results.xml"
files: "${{ github.workspace }}/junit/test-results.xml"
fail: true

- name: Publish unit test results
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests-macos-intel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,5 @@ jobs:
id: check_test_file
uses: andstor/file-existence-action@v3
with:
files: "/home/runner/work/vplanet/vplanet/junit/test-results.xml"
files: "${{ github.workspace }}/junit/test-results.xml"
fail: true
2 changes: 1 addition & 1 deletion .github/workflows/tests-macos-silicon.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,6 @@ jobs:
id: check_test_file
uses: andstor/file-existence-action@v3
with:
files: "/home/runner/work/vplanet/vplanet/junit/test-results.xml"
files: "${{ github.workspace }}/junit/test-results.xml"
fail: true

0 comments on commit f5c2a94

Please sign in to comment.