-
Notifications
You must be signed in to change notification settings - Fork 85
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* ci: test wider matrix * chore: add more Trove classifiers for Python * ci: fix quoting * ci: fix interpolation * ci: test fewer matrix elements * ci: fix string → array * ci: simplify matrix further * ci: even more matrix work * chore: bump myst-parser for ease * chore: bump Sphinx version * ci: fix lower bound * initial commit (#554) * [pre-commit.ci] pre-commit autoupdate (#553) updates: - [github.com/astral-sh/ruff-pre-commit: v0.0.291 → v0.0.292](astral-sh/ruff-pre-commit@v0.0.291...v0.0.292) - [github.com/pre-commit/mirrors-mypy: v1.5.1 → v1.6.0](pre-commit/mirrors-mypy@v1.5.1...v1.6.0) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Angus Hollands <[email protected]> * [pre-commit.ci] pre-commit autoupdate (#556) updates: - [github.com/psf/black: 23.9.1 → 23.10.0](psf/black@23.9.1...23.10.0) - [github.com/astral-sh/ruff-pre-commit: v0.0.292 → v0.1.1](astral-sh/ruff-pre-commit@v0.0.292...v0.1.1) - [github.com/pre-commit/mirrors-mypy: v1.6.0 → v1.6.1](pre-commit/mirrors-mypy@v1.6.0...v1.6.1) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> * test: update test artefacts * fix: read UTF-8 * docs: disable `navigation_with_keys` * trigger RTD build * docs: disable `navigation_with_keys` --------- Co-authored-by: Michael Weinold <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
- Loading branch information
1 parent
769d813
commit fd1fc66
Showing
25 changed files
with
65 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,10 +14,10 @@ jobs: | |
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Set up Python 3.9 | ||
- name: Set up Python 3.10 | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: 3.9 | ||
python-version: "3.10" | ||
- uses: pre-commit/[email protected] | ||
|
||
tests: | ||
|
@@ -26,15 +26,29 @@ jobs: | |
fail-fast: false | ||
matrix: | ||
os: [ubuntu-latest] | ||
python-version: ["3.8", "3.9", "3.10", "3.11"] | ||
sphinx: ["~=5.0","~=6.0","~=7.0"] | ||
python-version: ["3.8", "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) | ||
include: | ||
# Just check the other platforms once | ||
- os: windows-latest | ||
python-version: 3.9 | ||
sphinx: "~=5.0" | ||
python-version: "3.10" | ||
sphinx: "~=7.0" | ||
myst-parser: ">=2.0" | ||
- os: macos-latest | ||
python-version: 3.9 | ||
python-version: "3.10" | ||
sphinx: "~=7.0" | ||
myst-parser: ">=2.0" | ||
# Oldest known-compatible dependencies | ||
- os: ubuntu-latest | ||
python-version: "3.8" | ||
sphinx: "~=5.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" | ||
|
||
runs-on: ${{ matrix.os }} | ||
|
||
|
@@ -48,7 +62,7 @@ jobs: | |
- name: Install myst-nb with Sphinx ${{ matrix.sphinx }} | ||
run: | | ||
pip install --upgrade pip | ||
pip install --upgrade "Sphinx${{ matrix.sphinx }}" -e .[testing] | ||
pip install --upgrade "Sphinx${{ matrix.sphinx }}" "myst-parser${{ matrix.myst-parser }}" -e .[testing] | ||
- name: Run pytest | ||
run: pytest --durations=10 | ||
|
@@ -62,7 +76,7 @@ jobs: | |
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: 3.11 | ||
python-version: "3.11" | ||
cache: pip | ||
- name: Install dependencies | ||
run: | | ||
|
@@ -96,7 +110,7 @@ jobs: | |
- name: Set up Python | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: 3.9 | ||
python-version: "3.10" | ||
- name: install flit | ||
run: | | ||
pip install flit~=3.4 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.