ci: run the test job on the floor and the ceiling of requires-python
Dropping the <3.14 cap in 0bb1d870 left 3.14 supported but unexercised: both
jobs pinned python-version 3.11. Claiming a version nothing runs is how the
cap went stale in the first place, so the test job now matrices over
["3.11", "3.14"] with fail-fast off.
Verified locally before adding the leg: CPython 3.14.4 with CI's own extras
([dev,openbb,stats]) is 10774 passed / 23 skipped / 0 failed.
This commit is contained in:
1 parent
23e8797051
commit
ce52ad6b67
1 file changed
+11
-1
@@ -50,15 +50,25 @@ jobs:
|
||||
python -m pip install --dry-run --ignore-installed --require-hashes -r requirements-channels-lock.txt
|
||||
|
||||
test:
|
||||
name: test / Python ${{ matrix.python-version }}
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 10
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
# The floor and the ceiling of `requires-python` in pyproject.toml.
|
||||
# The ceiling leg exists because the <3.14 cap came off in 0bb1d870:
|
||||
# supporting a version nothing exercises is how the cap got stale in
|
||||
# the first place. Raise the upper leg whenever the floor or a new
|
||||
# CPython release moves.
|
||||
python-version: ["3.11", "3.14"]
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||
|
||||
- uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
|
||||
with:
|
||||
python-version: "3.11"
|
||||
python-version: ${{ matrix.python-version }}
|
||||
cache: pip
|
||||
|
||||
- name: Install dependencies
|
||||
|
||||
Reference in new issue
Block a user