Files
web_django_template/.gitea/workflows/ci.yml
westfarn 7bd68dc3a1 Wire template CI/deploy to master and the app_catalog slug.
Bootstrap rewrites --app client_site to the catalog key (print_forge, etc). CI was still on main, so cloned clients would never hit server-infra.
2026-09-06 20:31:41 -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