Skip to content

Commit 60fac72

Browse files
committed
Update pdm locking
1 parent d00bbb6 commit 60fac72

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

.github/workflows/ci.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,8 @@ jobs:
106106
uv-dependency-install-flags: "--all-extras --group tests"
107107
- name: Run tests
108108
run: |
109+
# Warm up the speed tests, allowing failure
110+
uv run pytest tests/integration/database/test_integration_speed.py || true
109111
uv run pytest -r a -v src tests --doctest-modules --cov=src --cov-report=term-missing --cov-report=xml
110112
uv run coverage report
111113
- name: Upload coverage reports to Codecov with GitHub Action
@@ -275,7 +277,8 @@ jobs:
275277
# Required for building the locked version of the package
276278
# with pdm-build-locked (see pyproject.toml)
277279
run: |
278-
pdm lock --group :all --strategy inherit_metadata
280+
pdm lock --group :all --strategy inherit_metadata --python="<3.13"
281+
pdm lock --group :all --python=">=3.13" --append
279282
- name: Build package
280283
run: |
281284
uv build

.github/workflows/deploy.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,8 @@ jobs:
4242
# Required for building the locked version of the package
4343
# with pdm-build-locked (see pyproject.toml)
4444
run: |
45-
pdm lock --group :all --strategy inherit_metadata
45+
pdm lock --group :all --strategy inherit_metadata --python="<3.13"
46+
pdm lock --group :all --python=">=3.13" --append
4647
- name: Publish to PyPI
4748
run: |
4849
uv build

.github/workflows/release.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@ jobs:
3535
# Required for building the locked version of the package
3636
# with pdm-build-locked (see pyproject.toml)
3737
run: |
38-
pdm lock --group :all --strategy inherit_metadata
38+
pdm lock --group :all --strategy inherit_metadata --python="<3.13"
39+
pdm lock --group :all --python=">=3.13" --append
3940
- name: Add version to environment
4041
run: |
4142
PROJECT_VERSION=`sed -ne 's/^version = "\([0-9\.a]*\)"/\1/p' pyproject.toml`

0 commit comments

Comments
 (0)