Skip to content

Commit

Permalink
fix: update the version of actions/upload-artifact, too
Browse files Browse the repository at this point in the history
  • Loading branch information
dairiki committed Sep 3, 2024
1 parent 0715275 commit 1a0227c
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
push:
branches: ["*"]
pull_request:
branches: [main]
branches: [master]

jobs:
tests:
Expand Down Expand Up @@ -32,9 +32,9 @@ jobs:
pip install tox tox-gh-actions
- name: Test with tox
run: tox
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: coverage-data
name: coverage-data-${{ matrix.python-version }}
path: .coverage.*

coverage:
Expand All @@ -43,9 +43,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/download-artifact@v4.1.7
- uses: actions/download-artifact@v4
with:
name: coverage-data
pattern: coverage-data-*
merge-multiple: true
- run: python -m pip install tox
- run: tox -e cover-report

Expand Down

0 comments on commit 1a0227c

Please sign in to comment.