Files
photools3/.gitea/workflows/ci.yml
T
mathias2784 1bf49d4f24
Tests / test_and_lint (push) Failing after 7s
use .env.template in pipeline
2026-09-30 20:44:35 +02:00

27 lines
625 B
YAML

---
name: Tests
on: [push]
jobs:
test_and_lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.14"
- name: Install uv
run: pip install uv
- name: Install dependencies
run: uv sync --frozen
- name: copy .env
run: cp .env.template .env
- name: Run pytest
run: uv run pytest .
- name: Check formatting (black)
run: uv run black --check . --extend-exclude .venv
- name: Lint (ruff)
run: uv run ruff check .