Add gitea workflow to run offline tests
This commit is contained in:
parent
2869b181c6
commit
8300a5e377
20
.gitea/workflows/test.yml
Normal file
20
.gitea/workflows/test.yml
Normal 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 }}-bookworm-slim
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- name: Install the project
|
||||||
|
run: uv sync --all-extras --dev
|
||||||
|
- name: Run tests
|
||||||
|
run: uv run pytest
|
Loading…
Reference in New Issue
Block a user