Show More
@@ -14,7 +14,7 b' jobs:' | |||||
14 | runs-on: ${{ matrix.os }} |
|
14 | runs-on: ${{ matrix.os }} | |
15 | strategy: |
|
15 | strategy: | |
16 | matrix: |
|
16 | matrix: | |
17 | os: [ubuntu-latest] |
|
17 | os: [ubuntu-latest, windows-latest] | |
18 | python-version: ["3.7", "3.8", "3.9", "3.10"] |
|
18 | python-version: ["3.7", "3.8", "3.9", "3.10"] | |
19 | deps: [test_extra] |
|
19 | deps: [test_extra] | |
20 | # Test all on ubuntu, test ends on macos |
|
20 | # Test all on ubuntu, test ends on macos | |
@@ -49,11 +49,12 b' jobs:' | |||||
49 | python -m pip install --upgrade -e .[${{ matrix.deps }}] |
|
49 | python -m pip install --upgrade -e .[${{ matrix.deps }}] | |
50 | python -m pip install --upgrade check-manifest pytest-cov |
|
50 | python -m pip install --upgrade check-manifest pytest-cov | |
51 | - name: Check manifest |
|
51 | - name: Check manifest | |
|
52 | if: runner.os != 'Windows' # setup.py does not support sdist on Windows | |||
52 | run: check-manifest |
|
53 | run: check-manifest | |
53 | - name: pytest |
|
54 | - name: pytest | |
54 | env: |
|
55 | env: | |
55 | COLUMNS: 120 |
|
56 | COLUMNS: 120 | |
56 | run: | |
|
57 | run: | | |
57 | pytest --color=yes -v --cov --cov-report=xml |
|
58 | pytest --color=yes -ra -v --cov --cov-report=xml | |
58 | - name: Upload coverage to Codecov |
|
59 | - name: Upload coverage to Codecov | |
59 | uses: codecov/codecov-action@v2 |
|
60 | uses: codecov/codecov-action@v2 |
@@ -9,22 +9,10 b' environment:' | |||||
9 |
|
9 | |||
10 | matrix: |
|
10 | matrix: | |
11 |
|
11 | |||
12 | - PYTHON: "C:\\Python310-x64" |
|
|||
13 | PYTHON_VERSION: "3.10.x" |
|
|||
14 | PYTHON_ARCH: "64" |
|
|||
15 |
|
||||
16 | - PYTHON: "C:\\Python37-x64" |
|
|||
17 | PYTHON_VERSION: "3.7.x" |
|
|||
18 | PYTHON_ARCH: "64" |
|
|||
19 |
|
||||
20 | - PYTHON: "C:\\Python38" |
|
12 | - PYTHON: "C:\\Python38" | |
21 | PYTHON_VERSION: "3.8.x" |
|
13 | PYTHON_VERSION: "3.8.x" | |
22 | PYTHON_ARCH: "32" |
|
14 | PYTHON_ARCH: "32" | |
23 |
|
15 | |||
24 | - PYTHON: "C:\\Python38-x64" |
|
|||
25 | PYTHON_VERSION: "3.8.x" |
|
|||
26 | PYTHON_ARCH: "64" |
|
|||
27 |
|
||||
28 | init: |
|
16 | init: | |
29 | - "ECHO %PYTHON% %PYTHON_VERSION% %PYTHON_ARCH%" |
|
17 | - "ECHO %PYTHON% %PYTHON_VERSION% %PYTHON_ARCH%" | |
30 |
|
18 |
General Comments 0
You need to be logged in to leave comments.
Login now