Skip to content

Commit ca44f97

Browse files
authored
ci: test floors the CI10 way (#77)
1 parent 31e52b6 commit ca44f97

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

‎.github/workflows/_checks.yml‎

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,8 @@ jobs:
4747

4848
floors:
4949
# Every other job resolves newest, so the declared floors are a claim nothing installs.
50-
# This one resolves the bottom of each range, on every matrix entry: wheel coverage is
51-
# per interpreter, so two interpreters resolving the same versions can still disagree
52-
# on whether those versions install.
50+
# This one installs them exactly on the floor Python, and the lowest versions with a wheel
51+
# on every other entry (CI10).
5352
if: github.event_name != 'schedule'
5453
runs-on: ubuntu-latest
5554
strategy:
@@ -73,7 +72,10 @@ jobs:
7372
- run: uv python pin ${{ matrix.python-version }}
7473
- run: uv venv
7574
# Pinned with builds allowed, so a floor with no wheel fails the wheel-only install below.
76-
- run: uv pip compile pyproject.toml --all-extras --no-deps --resolution lowest-direct -o floors.txt
75+
- if: matrix.python-version == '3.11'
76+
run: uv pip compile pyproject.toml --all-extras --no-deps --resolution lowest-direct -o floors.txt
77+
- if: matrix.python-version != '3.11'
78+
run: uv pip compile pyproject.toml --all-extras --resolution lowest-direct --no-build -o floors.txt
7779
- run: uv pip install -r pyproject.toml --all-extras --group dev --constraints floors.txt --no-build
7880
- run: uv run --no-sync pytest
7981

0 commit comments

Comments
 (0)