Skip to content

Commit

Permalink
Merge pull request #443 from hiddenSymmetries/dependabot/github_actio…
Browse files Browse the repository at this point in the history
…ns/dot-github/workflows/actions/download-artifact-4.1.7

Bump actions/download-artifact from 3 to 4.1.7 in /.github/workflows
  • Loading branch information
landreman authored Sep 14, 2024
2 parents e15e6ee + 836738b commit 32e5e52
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 7 deletions.
15 changes: 10 additions & 5 deletions .github/workflows/extensive_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -233,13 +233,18 @@ 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 coverage files that were produced
if: contains(matrix.test-type, 'unit')
run: ls -al

- 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
name: gh-actions-parallel-coverage-${{ matrix.packages }}-${{ matrix.python-version }}
path: .coverage.*
if-no-files-found: error
include-hidden-files: true

coverage:
runs-on: ubuntu-latest
Expand All @@ -261,10 +266,10 @@ jobs:
run: pip install .

- name: Download artifact
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: gh-actions-parallel-coverage
path: ./
merge-multiple: true

- name: Display coverage files before combine
run: ls -a
Expand All @@ -276,7 +281,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 coverage files that were produced
if: contains(matrix.test-type, 'unit')
run: ls -al

- 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
2 changes: 1 addition & 1 deletion .github/workflows/wheel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ jobs:
# alternatively, to publish when a GitHub Release is created, use the following rule:
# if: github.event_name == 'release' && github.event.action == 'published'
steps:
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4.1.7
with:
name: artifact
path: dist
Expand Down

0 comments on commit 32e5e52

Please sign in to comment.