Skip to content
This repository has been archived by the owner on Sep 2, 2022. It is now read-only.

Commit

Permalink
Test against multiple operating systems in CI pipeline
Browse files Browse the repository at this point in the history
Now that we have operating system resource accessing functionality, we
really want to test against all the major operating systems.
  • Loading branch information
ruohola committed Feb 19, 2022
1 parent 9712656 commit 96c6290
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/ci.yml
Expand Up @@ -93,8 +93,9 @@ jobs:
fail-fast: true
matrix:
python-version: ['3.7', '3.8', '3.9', '3.10']
os: [ubuntu-latest, macos-latest, windows-latest]

runs-on: ubuntu-latest
runs-on: ${{ matrix.os }}
steps:
- name: "Checkout code"
uses: actions/checkout@v2
Expand Down Expand Up @@ -136,7 +137,7 @@ jobs:
pytest --verbose --cov=. --cov-report=xml .
- name: "Upload coverage"
if: matrix.python-version == '3.7'
if: matrix.python-version == '3.7' && matrix.os == 'ubuntu-latest'
uses: codecov/codecov-action@f32b3a3741e1053eb607407145bc9619351dc93b # v2.1.0
with:
files: coverage.xml

0 comments on commit 96c6290

Please sign in to comment.