-
Notifications
You must be signed in to change notification settings - Fork 86
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into coalesce_streams
- Loading branch information
Showing
19 changed files
with
262 additions
and
48 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
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 |
---|---|---|
|
@@ -8,17 +8,6 @@ on: | |
pull_request: | ||
|
||
jobs: | ||
pre-commit: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Set up Python 3.10 | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: "3.10" | ||
- uses: pre-commit/[email protected] | ||
|
||
tests: | ||
|
||
|
@@ -27,28 +16,33 @@ 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,<9"] # 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" | ||
python-version: "3.12" | ||
sphinx: "~=8.0" | ||
myst-parser: "~=4.0" | ||
- os: macos-latest | ||
python-version: "3.10" | ||
sphinx: "~=7.0" | ||
myst-parser: ">=2.0" | ||
python-version: "3.12" | ||
sphinx: "~=8.0" | ||
myst-parser: "~=4.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" | ||
# Mid-range dependencies | ||
- os: ubuntu-latest | ||
python-version: "3.11" | ||
sphinx: "==7.0.0" | ||
myst-parser: "==2.0.0" | ||
# Newest known-compatible dependencies | ||
- os: ubuntu-latest | ||
python-version: "3.12" | ||
sphinx: "~=7.0" | ||
myst-parser: "~=2.0.0" | ||
sphinx: "==8.0.2" | ||
myst-parser: "==4.0.0" | ||
|
||
runs-on: ${{ matrix.os }} | ||
|
||
|
@@ -91,8 +85,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/codecov-action@v4 | ||
if: false | ||
with: | ||
name: myst-nb-pytests | ||
flags: pytests | ||
|
@@ -101,7 +97,7 @@ jobs: | |
publish: | ||
|
||
name: Publish to PyPi | ||
needs: [pre-commit, tests] | ||
needs: [tests] | ||
if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags') | ||
runs-on: ubuntu-latest | ||
steps: | ||
|
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
Large diffs are not rendered by default.
Oops, something went wrong.
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.