Skip to content
Open
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
26 changes: 26 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Run tests

on: push

jobs:
tests:
runs-on: ubuntu-latest
steps:
- name: Clone repository
uses: actions/checkout@v6
# https://github.com/actions/setup-python
- name: Install Python
uses: actions/setup-python@v6
with:
python-version: "3.14"
cache: pip
- name: Install dependencies
run: pip install -r requirements.txt
- name: Run tests
# https://pytest-cov.readthedocs.io/en/latest/readme.html
run: pytest --cov
# https://github.com/astral-sh/ruff-action
- name: Run ruff
uses: astral-sh/ruff-action@v3
with:
version: latest
Loading