Skip to content

Commit

Permalink
Assed Windows and MacOS to tests
Browse files Browse the repository at this point in the history
  • Loading branch information
howroyd committed Jan 29, 2024
1 parent 02f8df8 commit 8cc6202
Showing 1 changed file with 17 additions and 3 deletions.
20 changes: 17 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,24 @@ on:

jobs:
test:
runs-on: ubuntu-latest
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
python-version: ["2.7", "3.4", "3.5", "3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
os: [ubuntu-latest, windows-latest, macos-latest]
# python-version: ["2.7", "3.4", "3.5", "3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
python-version: ["3.8", "3.9", "3.10", "3.11"]

# What works:
# macos 3.8-3.11
# ubuntu 3.8-3.11


# exclude:
# - os: macos-latest
# python-version: "3.9"
# - os: windows-latest
# python-version: "3.9"
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
Expand All @@ -26,6 +39,7 @@ jobs:
python -m pip install --upgrade pip
python -m pip install pytest
python -m pip install flake8
python -m pip install wheel
python -m pip install importlib_metadata
- name: Lint with flake8
run: |
Expand All @@ -35,7 +49,7 @@ jobs:
- name: Build and test
run: |
python setup.py sdist --formats=zip
pip install dist/pynmea2*.zip
pip install --find-links=./dist --no-index --no-build-isolation pynmea2
pytest
- name: Coveralls
env:
Expand Down

0 comments on commit 8cc6202

Please sign in to comment.