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
2 changes: 1 addition & 1 deletion .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
uses: actions/checkout@ff7abcd0c3c05ccf6adc123a8cd1fd4fb30fb493

- name: Setup Python
uses: actions/setup-python@9322b3ca74000aeb2c01eb777b646334015ddd72
uses: actions/setup-python@3d1e2d2ca0a067f27da6fec484fce7f5256def85
with:
python-version: "3.13"

Expand Down
56 changes: 28 additions & 28 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,43 +16,43 @@ jobs:
name: Python - Lint, Typecheck, Test

strategy:
fail-fast: false
matrix:
python-version: ["3.10", "3.11", "3.12", "3.13"]
fail-fast: false
matrix:
python-version: ["3.10", "3.11", "3.12", "3.13"]

runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@ff7abcd0c3c05ccf6adc123a8cd1fd4fb30fb493
- name: Checkout code
uses: actions/checkout@ff7abcd0c3c05ccf6adc123a8cd1fd4fb30fb493

- name: Setup Python ${{ matrix.python-version }}
uses: actions/setup-python@9322b3ca74000aeb2c01eb777b646334015ddd72
with:
python-version: ${{ matrix.python-version }}
- name: Setup Python ${{ matrix.python-version }}
uses: actions/setup-python@3d1e2d2ca0a067f27da6fec484fce7f5256def85
with:
python-version: ${{ matrix.python-version }}

- name: Install Poetry
uses: abatilo/actions-poetry@b8f6fe29ba2eb78e0d45ccbf41cd14154c4e25b2
- name: Install Poetry
uses: abatilo/actions-poetry@b8f6fe29ba2eb78e0d45ccbf41cd14154c4e25b2

- name: Configure Poetry
run: |
poetry config virtualenvs.create true --local
poetry config virtualenvs.in-project true --local
- name: Configure Poetry
run: |
poetry config virtualenvs.create true --local
poetry config virtualenvs.in-project true --local

- name: Install package
run: poetry install --all-extras
- name: Install package
run: poetry install --all-extras

- name: Format
run: poetry run ruff format --check .
- name: Format
run: poetry run ruff format --check .

- name: Lint
if: always()
run: poetry run ruff check --output-format=github .
- name: Lint
if: always()
run: poetry run ruff check --output-format=github .

- name: Typecheck
if: always()
run: poetry run mypy .
- name: Typecheck
if: always()
run: poetry run mypy .

- name: Test
if: always()
run: poetry run pytest
- name: Test
if: always()
run: poetry run pytest
Loading