10000 [WIP] simplify the CI workflows by leveraging UV features by danieleades · Pull Request #13519 · sphinx-doc/sphinx · GitHub
[go: up one dir, main page]

Skip to content

[WIP] simplify the CI workflows by leveraging UV features #13519

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

Draft
wants to merge 23 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from 1 commit
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
Prev Previous commit
Next Next commit
simplify test matrix
  • Loading branch information
daniel.eades committed May 21, 2025
commit 5e21709779fa448c4e1ee396f59cbbe1ece1c1cb
10 changes: 1 addition & 9 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,16 +66,8 @@ jobs:
uses: astral-sh/setup-uv@v6
with:
enable-cache: false
- name: Install dependencies
run: uv pip install . --group test
env:
UV_PYTHON: "python${{ matrix.python }}"
- name: Install Docutils ${{ matrix.docutils }}
run: uv pip install --upgrade "docutils~=${{ matrix.docutils }}.0"
env:
UV_PYTHON: "python${{ matrix.python }}"
- name: Test with pytest
run: python -m pytest -n logical --dist=worksteal -vv --durations 25
run: uv run --with "docutils~=${{ matrix.docutils }}.0" --python ${{ matrix.python }} pytest -n logical --dist=worksteal -vv --durations 25
env:
PYTHONWARNINGS: "error" # treat all warnings as errors

Expand Down
Loading
Loading
0