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
35 changes: 0 additions & 35 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,41 +10,6 @@ permissions:
contents: read

jobs:
types:
runs-on: ubuntu-24.04
strategy:
fail-fast: false
matrix:
python-version:
- '3.10'
- '3.14'
env:
PYTHON_VERSION: ${{ matrix.python-version }}
PYTHONUNBUFFERED: 1

steps:
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
with:
persist-credentials: false

- name: Set up Python ${{ matrix.python-version }}
id: setup_python
uses: actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548 # v6.1.0
with:
python-version: ${{ matrix.python-version }}

- uses: astral-sh/setup-uv@681c641aba71e4a1c380be3ab5e12ad51f415867 # v7.1.6
with:
cache-suffix: ${{ steps.setup_python.outputs.python-version }}

- name: Install System dependencies
run: |
sudo apt-get update
sudo apt-get install -qq -y --no-install-recommends libxmlsec1-dev

- name: Type check with tox
run: uvx tox -e "py${PYTHON_VERSION/\./}-pyright"

test:
runs-on: ubuntu-24.04
strategy:
Expand Down
30 changes: 29 additions & 1 deletion .github/workflows/ty.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ permissions:
contents: read

jobs:
types:
ty:
runs-on: ubuntu-24.04

steps:
Expand All @@ -31,3 +31,31 @@ jobs:

- name: Type check ty
run: uv run --all-extras ty check --output-format=github

pyright:
runs-on: ubuntu-24.04
env:
PYTHONUNBUFFERED: 1

steps:
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
with:
persist-credentials: false

- name: Set up Python
id: setup_python
uses: actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548 # v6.1.0
with:
python-version: 3.14

- uses: astral-sh/setup-uv@681c641aba71e4a1c380be3ab5e12ad51f415867 # v7.1.6
with:
cache-suffix: ${{ steps.setup_python.outputs.python-version }}

- name: Install System dependencies
run: |
sudo apt-get update
sudo apt-get install -qq -y --no-install-recommends libxmlsec1-dev

- name: Type check with pyright
run: uv run --all-extras pyright
Loading