add a workflow for tests
All checks were successful
Run tests / test (push) Successful in 1m0s

This commit is contained in:
Your Name
2026-06-25 21:32:45 -06:00
parent 99971b804d
commit ecd4880a28

26
.gitea/workflows/test.yml Normal file
View File

@@ -0,0 +1,26 @@
name: Run tests
on:
push:
branches: [main, master]
pull_request:
branches: [main, master]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e ".[dev]"
- name: Run tests
run: python -m pytest tests/ -v