Skip to content

Commit

Permalink
Upload coverage report
Browse files Browse the repository at this point in the history
Run on ubuntu py311 only until we have a solution
  • Loading branch information
brynpickering committed Oct 25, 2023
1 parent 86db386 commit e50cec8
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions .github/workflows/pr-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
py3version: ["9", "10", "11"]
include:
- os: windows-latest
py3version: "11"
- os: macos-latest
py3version: "11"
py3version: ["11"]
fail-fast: false
runs-on: ${{ matrix.os }}
steps:
Expand Down Expand Up @@ -77,6 +72,14 @@ jobs:
if: matrix.os != 'ubuntu-latest' || matrix.py3version != '11'
run: pytest

- name: Upload coverage report as an artefact
if: matrix.os == 'ubuntu-latest' && matrix.py3version == '11'
uses: actions/upload-artifact@v3
with:
name: coverage-report
path: "./reports/coverage/"
retention-days: 3

- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
if: matrix.os == 'ubuntu-latest' && matrix.py3version == '11'
Expand Down

0 comments on commit e50cec8

Please sign in to comment.