forked from sphinx-doc/sphinx
-
Notifications
You must be signed in to change notification settings - Fork 0
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 literallyinclude-options
- Loading branch information
Showing
19 changed files
with
527 additions
and
204 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 |
---|---|---|
|
@@ -102,6 +102,43 @@ jobs: | |
env: | ||
PYTHONWARNINGS: "error" # treat all warnings as errors | ||
|
||
deadsnakes-free-threraded: | ||
runs-on: ubuntu-latest | ||
name: Python ${{ matrix.python }} (Docutils ${{ matrix.docutils }}; free-threaded) | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
python: | ||
- "3.13-dev" | ||
docutils: | ||
- "0.20" | ||
- "0.21" | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Set up Python ${{ matrix.python }} (deadsnakes) | ||
uses: deadsnakes/[email protected] | ||
with: | ||
python-version: ${{ matrix.python }} | ||
nogil: true | ||
- name: Check Python version | ||
run: python --version --version | ||
- name: Install graphviz | ||
run: sudo apt-get install graphviz | ||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
python -m pip install .[test] | ||
- name: Install Docutils ${{ matrix.docutils }} | ||
run: python -m pip install --upgrade "docutils~=${{ matrix.docutils }}.0" | ||
# markupsafe._speedups has not declared that it can run safely without the GIL | ||
- name: Remove markupsafe._speedups | ||
run: rm -rf "$(python -c 'from markupsafe._speedups import __file__ as f; print(f)')" | ||
- name: Test with pytest | ||
run: python -m pytest -vv --durations 25 | ||
env: | ||
PYTHONWARNINGS: "error" # treat all warnings as errors | ||
|
||
windows: | ||
runs-on: windows-2019 | ||
name: Windows | ||
|
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.