Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
bwoodsend committed Feb 11, 2024
1 parent 8826d07 commit 3436a2b
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ jobs:
FORCE_COLOR: 1
POLYCOTYLUS_VERBOSITY: 1
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix._.python }}

Expand Down Expand Up @@ -62,22 +62,23 @@ jobs:
- run: polycotylus --configure docker=${{ matrix._.docker }}
- run: pytest --cov-fail-under=0 -sv ${{ matrix.suite }}
- run: mv .coverage .coverage-$(uuidgen)
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: coverage
name: coverage-${{ strategy.job-index }}
path: .coverage-*

coverage:
runs-on: ubuntu-latest
needs: main
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: 3.12 # must match latest version tested against
- run: pip install coverage
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: coverage
pattern: coverage-*
merge-multiple: true
- run: coverage combine .coverage-*
- run: coverage report

0 comments on commit 3436a2b

Please sign in to comment.