Skip to content

Commit d351b9b

Browse files
authored
MAINT: Add OSX and Windows build to tests (#533)
1 parent e4ef468 commit d351b9b

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.github/workflows/tests.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,19 @@ jobs:
1616
# Build docs on a number of Python versions. In the future this can be
1717
# where tests go.
1818
tests:
19-
runs-on: ubuntu-latest
19+
runs-on: ${{ matrix.os }}
2020
strategy:
2121
matrix:
22+
os: [ubuntu-latest]
2223
python-version: [3.7, 3.8, 3.9, "3.10"]
24+
# Manually specify one OSX + Windows build to make sure it works there.
2325
include:
2426
- python-version: "3.10"
2527
dev: true
28+
- os: macos-latest
29+
python-version: "3.9"
30+
- os: windows-latest
31+
python-version: "3.9"
2632

2733
steps:
2834
- uses: actions/checkout@v2
@@ -46,7 +52,6 @@ jobs:
4652
# Build the docs
4753
- name: Build docs to store
4854
run: |
49-
export PATH="$HOME/miniconda/bin:$PATH"
5055
sphinx-build -b html docs/ docs/_build/html -W --keep-going
5156
5257
# Run tests under coverage
@@ -102,7 +107,6 @@ jobs:
102107
# Build the docs
103108
- name: Build docs to store
104109
run: |
105-
export PATH="$HOME/miniconda/bin:$PATH"
106110
sphinx-build -b html docs/ docs/_build/html -W --keep-going
107111
108112
# Serve the docs and wait to be ready

0 commit comments

Comments
 (0)