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
24 changes: 19 additions & 5 deletions .github/workflows/tests.yml → .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Tests
name: CI

on:
push:
Expand All @@ -7,6 +7,23 @@ on:
pull_request:

jobs:
lint:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@v7
- name: Set up Python
uses: actions/setup-python@v7
with:
python-version: "3.15"
- name: Install dependencies
run: |
pip install -U pip
pip install -r requirements.txt
- name: Lint and check formatting
run: |
ruff check .
ruff format --check .
test:
runs-on: ubuntu-latest
timeout-minutes: 5
Expand All @@ -17,6 +34,7 @@ jobs:
- "3.12"
- "3.13"
- "3.14"
- "3.15"
steps:
- uses: actions/checkout@v7
- name: Set up Python ${{ matrix.python-version }}
Expand All @@ -27,10 +45,6 @@ jobs:
run: |
pip install -U pip
pip install -r requirements.txt
- name: Lint and check formatting
run: |
ruff check .
ruff format --check .
- name: Run all tests
run: |
pytest . -v
Loading