Skip to content

Commit

Permalink
Merge pull request #348 from UW-GAC/dependabot/github_actions/actions…
Browse files Browse the repository at this point in the history
…/upload-artifact-4

Bump actions/upload-artifact from 3 to 4
  • Loading branch information
amstilp authored Dec 18, 2023
2 parents d8d0bc1 + 53b160b commit 7f245e0
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,9 @@ jobs:
ANVIL_API_SERVICE_ACCOUNT_FILE: foo

- name: Upload coverage data
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: coverage-data
name: coverage-data-mysql-${{ strategy.job-index }}
path: .coverage.*

pytest-sqlite:
Expand Down Expand Up @@ -125,9 +125,9 @@ jobs:
ANVIL_API_SERVICE_ACCOUNT_FILE: foo

- name: Upload coverage data
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: coverage-data
name: coverage-data-sqlite-${{ strategy.job-index }}
path: .coverage.*

coverage:
Expand All @@ -148,10 +148,16 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install --upgrade coverage "django<4" django-coverage-plugin
- name: Download coverage data
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: coverage-data
path: ./artifacts/

- name: Merge coverage files
run: |
mv ./artifacts/coverage-data*/.coverage* .
ls -la .coverage*
- name: Combine coverage data
run: |
Expand Down

0 comments on commit 7f245e0

Please sign in to comment.