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 1608beb commit 37360ef
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/ci.yml
Expand Up @@ -93,8 +93,11 @@ jobs:
fail-fast: true
matrix:
python-version: ['3.7', '3.8', '3.9', '3.10']

runs-on: ubuntu-latest
os: [ubuntu-latest, macos-latest, windows-latest]
defaults:
run:
shell: bash
runs-on: ${{ matrix.os }}
steps:
- name: "Checkout code"
uses: actions/checkout@v2
Expand Down Expand Up @@ -136,7 +139,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 37360ef

Please sign in to comment.