Skip to content

Commit 8cc6202

Browse files
committed
Assed Windows and MacOS to tests
1 parent 02f8df8 commit 8cc6202

File tree

1 file changed

+17
-3
lines changed

1 file changed

+17
-3
lines changed

.github/workflows/ci.yml

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,24 @@ on:
1010

1111
jobs:
1212
test:
13-
runs-on: ubuntu-latest
13+
runs-on: ${{ matrix.os }}
1414
strategy:
1515
fail-fast: false
1616
matrix:
17-
python-version: ["2.7", "3.4", "3.5", "3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
17+
os: [ubuntu-latest, windows-latest, macos-latest]
18+
# python-version: ["2.7", "3.4", "3.5", "3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
19+
python-version: ["3.8", "3.9", "3.10", "3.11"]
20+
21+
# What works:
22+
# macos 3.8-3.11
23+
# ubuntu 3.8-3.11
24+
25+
26+
# exclude:
27+
# - os: macos-latest
28+
# python-version: "3.9"
29+
# - os: windows-latest
30+
# python-version: "3.9"
1831
steps:
1932
- uses: actions/checkout@v4
2033
- name: Set up Python ${{ matrix.python-version }}
@@ -26,6 +39,7 @@ jobs:
2639
python -m pip install --upgrade pip
2740
python -m pip install pytest
2841
python -m pip install flake8
42+
python -m pip install wheel
2943
python -m pip install importlib_metadata
3044
- name: Lint with flake8
3145
run: |
@@ -35,7 +49,7 @@ jobs:
3549
- name: Build and test
3650
run: |
3751
python setup.py sdist --formats=zip
38-
pip install dist/pynmea2*.zip
52+
pip install --find-links=./dist --no-index --no-build-isolation pynmea2
3953
pytest
4054
- name: Coveralls
4155
env:

0 commit comments

Comments
 (0)