Skip to content

Commit

Permalink
TST: test against CPython 3.11.0 (instead of latest 3.11.x)
Browse files Browse the repository at this point in the history
  • Loading branch information
neutrinoceros committed Dec 8, 2024
1 parent be283b6 commit 9a103a4
Showing 1 changed file with 16 additions and 7 deletions.
23 changes: 16 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,6 @@ jobs:
- os: windows-latest
python-version: '3.13'

# test with minimal requirements
- marker: minimal
os: ubuntu-20.04
python-version: '3.11'
install-args: --resolution=lowest-direct

# test GPGI_PY_LIB
- marker: PY_LIB
os: ubuntu-latest
Expand All @@ -73,7 +67,7 @@ jobs:
shell: bash # for windows-compat (using `\` as a line continuation)
# TODO: add --no-editable
run: |
uv run --frozen --group covcheck ${{ matrix.install-args }} \
uv run --frozen --group covcheck \
coverage run --parallel-mode -m pytest --color=yes -ra
- name: Upload coverage data
Expand All @@ -87,6 +81,21 @@ jobs:
if-no-files-found: ignore
include-hidden-files: true

minimal-env:
name: Minimal requirements
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: actions/setup-python@v5
with:
# setup-uv doesn't have this exact version of Python
python-version: 3.11.0
- uses: astral-sh/setup-uv@38f3f104447c67c051c4a08e39b64a148898af3a # v4.2.0
- name: Test
run: |
uv run --python-preference=only-system --frozen --no-editable --group test \
pytest --color=yes -ra
image-tests:
name: Image tests
runs-on: ubuntu-latest
Expand Down

0 comments on commit 9a103a4

Please sign in to comment.