Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MAINT: Add OSX and Windows build to tests #533

Merged
merged 8 commits into from Jan 4, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
10 changes: 7 additions & 3 deletions .github/workflows/tests.yml
Expand Up @@ -16,13 +16,19 @@ jobs:
# Build docs on a number of Python versions. In the future this can be
# where tests go.
tests:
runs-on: ubuntu-latest
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
python-version: [3.7, 3.8, 3.9, "3.10"]
# Manually specify one OSX + Windows build to make sure it works there.
include:
- python-version: "3.10"
dev: true
- os: macos-latest
python-version: "3.9"
- os: windows-latest
python-version: "3.9"

steps:
- uses: actions/checkout@v2
Expand All @@ -46,7 +52,6 @@ jobs:
# Build the docs
- name: Build docs to store
run: |
export PATH="$HOME/miniconda/bin:$PATH"
sphinx-build -b html docs/ docs/_build/html -W --keep-going

# Run tests under coverage
Expand Down Expand Up @@ -102,7 +107,6 @@ jobs:
# Build the docs
- name: Build docs to store
run: |
export PATH="$HOME/miniconda/bin:$PATH"
sphinx-build -b html docs/ docs/_build/html -W --keep-going

# Serve the docs and wait to be ready
Expand Down