Skip to content

Commit

Permalink
Update version of actions/upload-artifact, and add ls to print covera…
Browse files Browse the repository at this point in the history
…ge files
  • Loading branch information
landreman committed Sep 12, 2024
1 parent 77a1785 commit 025a420
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 5 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/extensive_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -233,9 +233,13 @@ jobs:
mpiexec -n 2 coverage run -m unittest discover -k "mpi" -s tests -v
mpiexec -n 3 --oversubscribe coverage run -m unittest discover -k "mpi" -s tests -v
- name: ls to see if coverage files were produced
if: contains(matrix.test-type, 'unit')
run: ls

- name: Upload uncombined coverage to github
if: contains(matrix.test-type, 'unit')
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: gh-actions-parallel-coverage
path: .coverage.*
Expand Down Expand Up @@ -276,7 +280,7 @@ jobs:
coverage xml
- name: Upload coverage to github
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: tox-gh-actions-coverage
path: coverage.xml
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,10 @@ jobs:
mpiexec -n 2 coverage run -m unittest discover -k "mpi" -s tests -v
mpiexec -n 3 --oversubscribe coverage run -m unittest discover -k "mpi" -s tests -v
- name: ls to see if coverage files were produced
if: contains(matrix.test-type, 'unit')
run: ls

- name: Combine coverage reports
if: contains(matrix.test-type, 'unit')
run: |
Expand All @@ -209,7 +213,7 @@ jobs:
- name: Upload coverage to github
if: contains(matrix.test-type, 'unit')
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: tox-gh-actions-coverage
path: coverage.xml
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/wheel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
CIBW_SKIP: cp27-* cp36-* cp37-*
CIBW_DEPENDENCY_VERSIONS: latest

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
path: ./wheelhouse/*.whl

Expand Down Expand Up @@ -56,7 +56,7 @@ jobs:
- name: Build sdist
run: python -m build -s -o dist .

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
path: dist/*.tar.gz

Expand Down

0 comments on commit 025a420

Please sign in to comment.