Files
print_forge/.gitea/workflows/ci.yml
T
westfarn 5ea7cce56b Point CI and deploy at app_catalog.print_forge on master.
Gitea was still targeting main and a leftover client-ci compose name, so PRs and server-infra --app print_forge would miss each other.
2026-09-06 20:31:42 -05:00

31 lines
613 B
YAML

name: CI
on:
pull_request:
branches: [master]
jobs:
test:
runs-on: self-hosted
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install uv
run: |
curl -LsSf https://astral.sh/uv/install.sh | sh
echo "$HOME/.local/bin" >> "$GITHUB_PATH"
- name: Install dependencies
run: uv sync --frozen
- name: Run unit tests
env:
DJANGO_ENV: dev
DJANGO_SECRET_KEY: test-secret-key
DATABASE_URL: ""
DB_HOST: ""
run: |
cd site
uv run python manage.py test