Skip to content

Commit

Permalink
CI: run on all three: ubuntu-latest, macos-latest, windows-latest
Browse files Browse the repository at this point in the history
  • Loading branch information
mwtoews committed Jul 3, 2024
1 parent c599b43 commit 6237457
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,11 @@ on:

jobs:
tests:
runs-on: ubuntu-latest
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
# pick lower and upper versions only
python-version: ["3.8", "3.12"]

Expand All @@ -32,15 +34,12 @@ jobs:
uses: modflowpy/install-modflow-action@v1

- name: Install dependencies
shell: bash
run: |
python -m pip install pip --upgrade --disable-pip-version-check
echo "$HOME/.local/bin" >> $GITHUB_PATH
pip install -e .[test]
- name: Run tests with required packages
run: |
pytest -v --cov
run: pytest -v --cov

- name: Run tests with optional packages
run: |
Expand Down

0 comments on commit 6237457

Please sign in to comment.