cronmatt/.gitea/workflows/test.yaml

24 lines
460 B
YAML

name: pytests
run-name: ${{ gitea.actor }} running tests
on: [push]
jobs:
uv-example:
name: python
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v5
with:
enable-cache: true
cache-dependency-glob: "uv.lock"
- name: Install the project
run: uv sync --all-extras --dev
- name: Run tests
run: uv run pytest tests