Skip to content
Merged
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
47 changes: 24 additions & 23 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,35 +1,36 @@
name: CI

on:
push:
pull_request:
push:
branches: [main, dev]
pull_request:

jobs:
checks:
runs-on: ubuntu-latest
checks:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
steps:
- uses: actions/checkout@v4

- uses: actions/setup-python@v6
with:
python-version: "3.13"
cache: "pip"
- uses: actions/setup-python@v6
with:
python-version: "3.13"
cache: "pip"

- name: Install package and dev tools
run: |
python -m pip install --upgrade pip
pip install -e .
pip install pytest ruff mypy
- name: Install package and dev tools
run: |
python -m pip install --upgrade pip
pip install -e .
pip install pytest ruff mypy

- name: Lint
run: ruff check .
- name: Lint
run: ruff check .

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

- name: Type check
run: mypy src
- name: Type check
run: mypy src

- name: Test
run: pytest
- name: Test
run: pytest
Loading