Skip to content

Commit 8f81732

Browse files
authored
ci: test floors the CI10 way (#273)
1 parent bdeac0a commit 8f81732

1 file changed

Lines changed: 7 additions & 3 deletions

File tree

‎.github/workflows/_checks.yml‎

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,9 @@ jobs:
5252
name: codecov-${{ matrix.python-version }}
5353

5454
floors:
55-
# CI6. Nothing else in CI installs the declared floors: `pytest` resolves highest, and the
56-
# scheduled run does the same. Wheel coverage is per interpreter, so every matrix entry runs.
55+
# CI10. Nothing else in CI installs the declared floors: `pytest` resolves highest, and the
56+
# scheduled run does the same. This job installs them exactly on 3.10, and the lowest
57+
# versions with a wheel on every other entry.
5758
# Skipped on the schedule: the floors do not move, and the scheduled `pytest` already covers
5859
# the newest releases, which are what users install.
5960
if: github.event_name != 'schedule'
@@ -75,7 +76,10 @@ jobs:
7576
- run: uv python install ${{ matrix.python-version }}
7677
- run: uv python pin ${{ matrix.python-version }}
7778
- run: uv venv
78-
- run: uv pip compile pyproject.toml --all-extras --no-deps --resolution lowest-direct -o floors.txt
79+
- if: matrix.python-version == '3.10'
80+
run: uv pip compile pyproject.toml --all-extras --no-deps --resolution lowest-direct -o floors.txt
81+
- if: matrix.python-version != '3.10'
82+
run: uv pip compile pyproject.toml --all-extras --resolution lowest-direct --no-build -o floors.txt
7983
- run: uv pip install -r pyproject.toml --all-extras --group dev --constraints floors.txt --no-build
8084
- run: uv run --no-sync pytest .
8185
env:

0 commit comments

Comments
 (0)