Add gitea workflow to run offline tests
All checks were successful
Run Unit Tests / test-package (3.11) (push) Successful in 55s
Run Unit Tests / test-package (3.13) (push) Successful in 52s
Run Unit Tests / test-package (3.12) (push) Successful in 57s

This commit is contained in:
Adam Goldsmith 2024-12-05 13:54:41 -05:00
parent 2869b181c6
commit 27a6ee5335

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

@ -0,0 +1,20 @@
name: Run Unit Tests
on:
push:
jobs:
test-package:
strategy:
matrix:
python-version:
- "3.11"
- "3.12"
- "3.13"
runs-on: ubuntu-latest
container: ghcr.io/astral-sh/uv:0.5-python${{ matrix.python-version }}-alpine
steps:
- uses: taiki-e/checkout-action@v1
- name: Install the project
run: uv sync --all-extras --dev
- name: Run tests
run: uv run pytest