Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions .github/actions/setup-env/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ description: "Setup environment"
inputs:
python-version:
default: "3.11"
description: "Python version to use"
frozen:
default: "true"
description: "If 'true', creates the env from the lock file without updating"
description: Python version to use
upgrade:
default: "false"
description: If 'true', upgrades all packages before creating the env

runs:
using: composite
Expand All @@ -19,8 +19,8 @@ runs:
python-version: ${{ inputs.python-version }}

- shell: bash
run: uv sync --link-mode copy --frozen
if: ${{ inputs.upgrade == 'true' }}
run: uv lock --upgrade

- shell: bash
if: ${{ inputs.frozen != 'true' }}
run: uv sync --link-mode copy
run: uv sync --link-mode copy --locked
31 changes: 16 additions & 15 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,26 +7,27 @@ jobs:
pytest:
strategy:
matrix:
os:
- ubuntu-latest
- windows-latest
- macos-latest
python-version: [ "3.11" ]
frozen: ["true"]
python-version:
- "3.11"
- "3.12"
- "3.13"
- "3.14"
os: ["ubuntu-latest"]
upgrade: ["false"]
include:
- os: ubuntu-latest
python-version: "3.12"
frozen: "true"
- os: ubuntu-latest
python-version: "3.13"
frozen: "true"
- os: ubuntu-latest
- os: windows-latest
python-version: "3.11"
frozen: "false"
upgrade: "false"
- os: macos-latest
python-version: "3.11"
upgrade: "false"
- os: ubuntu-latest
python-version: "3.14"
upgrade: "true"
fail-fast: false

runs-on: ${{ matrix.os }}
name: test / pytest (${{ matrix.os }}, ${{ matrix.python-version }}${{ matrix.frozen != 'true' && ', unfrozen' || '' }})
name: test / pytest (${{ matrix.os }}, ${{ matrix.python-version }}${{ matrix.upgrade == 'true' && ', upgrade' || '' }})

steps:
- name: Checkout repository
Expand Down
1 change: 1 addition & 0 deletions .python-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.11
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ classifiers = [
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
]
requires-python = ">=3.11"
dynamic = ["version"]
Expand Down
Loading
Loading