Show More
@@ -11,10 +11,17 b' on:' | |||||
11 |
|
11 | |||
12 | jobs: |
|
12 | jobs: | |
13 | test: |
|
13 | test: | |
14 | runs-on: ubuntu-latest |
|
14 | runs-on: ${{ matrix.os }} | |
15 | strategy: |
|
15 | strategy: | |
16 | matrix: |
|
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 | steps: |
|
26 | steps: | |
20 | - uses: actions/checkout@v2 |
|
27 | - uses: actions/checkout@v2 | |
@@ -40,4 +47,5 b' jobs:' | |||||
40 | run: | |
|
47 | run: | | |
41 | pytest |
|
48 | pytest | |
42 | - name: Upload coverage to Codecov |
|
49 | - name: Upload coverage to Codecov | |
|
50 | if: matrix.os == 'ubuntu-latest' | |||
43 | uses: codecov/codecov-action@v1 |
|
51 | uses: codecov/codecov-action@v1 |
General Comments 0
You need to be logged in to leave comments.
Login now