Show More
@@ -11,10 +11,17 b' on:' | |||
|
11 | 11 | |
|
12 | 12 | jobs: |
|
13 | 13 | test: |
|
14 | runs-on: ubuntu-latest | |
|
14 | runs-on: ${{ matrix.os }} | |
|
15 | 15 | strategy: |
|
16 | 16 | matrix: |
|
17 | python-version: [3.7, 3.8, 3.9] | |
|
17 | os: [ubuntu-latest] | |
|
18 | python-version: ["3.7", "3.8", "3.9"] | |
|
19 | # Test all on ubuntu, test ends on macos | |
|
20 | include: | |
|
21 | - os: macos-latest | |
|
22 | python-version: "3.7" | |
|
23 | - os: macos-latest | |
|
24 | python-version: "3.9" | |
|
18 | 25 | |
|
19 | 26 | steps: |
|
20 | 27 | - uses: actions/checkout@v2 |
@@ -40,4 +47,5 b' jobs:' | |||
|
40 | 47 | run: | |
|
41 | 48 | pytest |
|
42 | 49 | - name: Upload coverage to Codecov |
|
50 | if: matrix.os == 'ubuntu-latest' | |
|
43 | 51 | uses: codecov/codecov-action@v1 |
General Comments 0
You need to be logged in to leave comments.
Login now