-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
14 additions
and
13 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 |
---|---|---|
|
@@ -24,19 +24,12 @@ jobs: | |
runs-on: ubuntu-24.04 | ||
steps: | ||
- uses: actions/[email protected] | ||
- uses: actions/[email protected] | ||
with: | ||
python-version: "3.12" | ||
- name: Install uv | ||
run: | | ||
python -m pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/v4.9.0/requirements/uv.txt | ||
- name: Install project | ||
run: | | ||
uv --no-progress venv | ||
uv --no-progress sync | ||
- name: Generate dynamic doc | ||
run: | | ||
uv --no-progress run --frozen -m extra_platforms.docs_update | ||
uv --no-progress run --python 3.13 --frozen -m extra_platforms.docs_update | ||
- uses: peter-evans/[email protected] | ||
with: | ||
assignees: ${{ github.actor }} | ||
|
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 |
---|---|---|
|
@@ -110,18 +110,26 @@ jobs: | |
continue-on-error: ${{ matrix.state == 'unstable' }} | ||
steps: | ||
- uses: actions/[email protected] | ||
|
||
- name: Set up Python ${{ matrix.python-version }} | ||
# Default Python on windows-2019 is older than the minimum required by uv: | ||
# | ||
# ERROR: Ignored the following versions that require a different python version: | ||
# (...) 0.5.11 Requires-Python >=3.8 | ||
# ERROR: Could not find a version that satisfies the requirement uv==0.5.11 (from versions: none) | ||
# ERROR: No matching distribution found for uv==0.5.11 | ||
# | ||
# XXX This step might be able to be removed after 2025-01-10, once Python 3.8 is the default on windows-2019 | ||
# images: https://github.com/actions/runner-images/issues/10893 | ||
- name: windows-2019 - Update old Python | ||
if: matrix.os == 'windows-2019' | ||
uses: actions/[email protected] | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
|
||
python-version: "${{ matrix.python-version }}" | ||
- name: Install uv | ||
run: | | ||
python -m pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/v4.9.0/requirements/uv.txt | ||
- name: Install project | ||
run: | | ||
uv --no-progress venv | ||
uv --no-progress venv --python ${{ matrix.python-version }} | ||
uv --no-progress sync --frozen --extra test --extra pytest | ||
- name: Unittests | ||
|