Skip to content

Commit

Permalink
Split tox files
Browse files Browse the repository at this point in the history
  • Loading branch information
dflook committed Nov 1, 2024
1 parent 88f1665 commit 5ecc6ba
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,36 @@ jobs:
run: |
tox -r -e $(echo "${{ matrix.python }}" | tr -d .)
mv .coverage .coverage.${{ matrix.python }}
- name: Upload coverage
uses: actions/upload-artifact@v4
with:
name: coverage-${{ matrix.python }}
path: .coverage.${{ matrix.python }}
retention-days: 1

coverage:
name: Compute Coverage
runs-on: ubuntu-latest
needs: test
container:
image: danielflook/python-minifier-build:python3.13-2024-09-15
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 1
fetch-tags: 'true'
show-progress: 'false'

- name: Download coverage
uses: actions/download-artifact@v4
with:
pattern: coverage-*
merge-multiple: true

- name: Coverage Report
run: |
pip install coverage
coverage combine
coverage report --format markdown

0 comments on commit 5ecc6ba

Please sign in to comment.