Skip to content

Commit

Permalink
GitHub: Upgrade to upload/download-artifact v4 (#605)
Browse files Browse the repository at this point in the history
  • Loading branch information
bkeryan authored Jul 10, 2024
1 parent 422c9b7 commit 8110302
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/report_test_results.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,11 @@ jobs:
- name: Check out repo
uses: actions/checkout@v3
- name: Download test results
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: test_results
path: test_results
pattern: test_results_*
merge-multiple: true
- name: List downloaded files
run: ls -lR
- name: Publish test results
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/run_system_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ jobs:
done
if: always() && runner.os != 'Windows'
- name: Upload test results
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: test_results
name: test_results_system_${{ matrix.configuration }}
path: test_results/*.xml
if: always()
4 changes: 2 additions & 2 deletions .github/workflows/run_unit_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ jobs:
- name: Run unit tests
run: poetry run pytest -v --cov=generated/nidaqmx --junitxml=test_results/unit-${{ matrix.os }}-py${{ matrix.python-version }}.xml tests/unit
- name: Upload test results
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: test_results
name: test_results_unit_${{ matrix.os }}_py${{ matrix.python-version }}
path: test_results/*.xml
if: always()

0 comments on commit 8110302

Please sign in to comment.