diora-web/.forgejo/workflows/test.yml

30 lines
550 B
YAML
Raw Normal View History

2026-03-16 19:40:11 +01:00
name: Test
on:
push:
branches:
- master
- testing
pull_request:
jobs:
test:
runs-on: ubuntu-latest
container:
image: python:3.12-slim
steps:
- name: Install git
run: apt-get update && apt-get install -y --no-install-recommends git
2026-03-16 19:40:11 +01:00
- uses: actions/checkout@v4
- name: Install dependencies
run: pip install --no-cache-dir -r requirements.txt
- name: Django system check
run: python manage.py check
- name: Run tests
run: python manage.py test