... | ... |
@@ -4,10 +4,11 @@ on: [push] |
4 | 4 |
|
5 | 5 |
jobs: |
6 | 6 |
test: |
7 |
- runs-on: ubuntu-latest |
|
7 |
+ runs-on: ${{ matrix.os }} |
|
8 | 8 |
strategy: |
9 | 9 |
max-parallel: 4 |
10 | 10 |
matrix: |
11 |
+ os: [ubuntu-latest, macos-latest, windows-latest] |
|
11 | 12 |
python-version: [3.6, 3.7] |
12 | 13 |
steps: |
13 | 14 |
- uses: actions/checkout@v1 |
... | ... |
@@ -28,6 +29,7 @@ jobs: |
28 | 29 |
- name: Test |
29 | 30 |
run: tox |
30 | 31 |
- name: Upload coverage |
32 |
+ if: matrix.os == 'ubuntu-latest' |
|
31 | 33 |
uses: codecov/codecov-action@v1.0.3 |
32 | 34 |
with: |
33 | 35 |
token: ${{secrets.CODECOV_TOKEN}} |