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: fix specs for CI matrix #611

Merged
merged 3 commits into from
Jun 27, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 11 additions & 9 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,28 +27,28 @@ jobs:
matrix:
os: [ubuntu-latest]
python-version: ["3.9", "3.10", "3.11", "3.12"]
sphinx: [">=5.0,<=7.*"] # Newest Sphinx (any)
myst-parser: [">=1.0.0,<=2.*"] # Newest MyST Parser (any)
sphinx: [">=5,<8"] # Newest Sphinx (any)
myst-parser: [">=1,<3"] # Newest MyST Parser (any)
include:
# Just check the other platforms once
- os: windows-latest
python-version: "3.10"
sphinx: "~=7.0"
myst-parser: ">=2.0"
myst-parser: "~=2.0"
- os: macos-latest
python-version: "3.10"
sphinx: "~=7.0"
myst-parser: ">=2.0"
myst-parser: "~=2.0"
# Oldest known-compatible dependencies
- os: ubuntu-latest
python-version: "3.9"
sphinx: "~=5.0"
myst-parser: "~=1.0.0"
sphinx: "==5.0.0"
myst-parser: "==1.0.0"
# Newest known-compatible dependencies
- os: ubuntu-latest
python-version: "3.12"
sphinx: "~=7.0"
myst-parser: "~=2.0.0"
sphinx: "==7.0.0"
myst-parser: "==2.0.0"

runs-on: ${{ matrix.os }}

Expand Down Expand Up @@ -91,8 +91,10 @@ jobs:
# for some reason the tests/conftest.py::check_nbs fixture breaks pytest-cov's cov-report outputting
# this is why we run `coverage xml` afterwards (required by codecov)

# TEMPORARY FIX: Disable codecov until we can get it working again
- name: Upload to Codecov
uses: codecov/codecov-action@v3
uses: codecov/[email protected]
if: false
with:
name: myst-nb-pytests
flags: pytests
Expand Down
Loading