diora-web/.forgejo/workflows/test.yml
marwin 3677295580
Some checks failed
Build and push Docker image / build (push) Successful in 12s
Test / test (push) Failing after 13s
Fix test workflow: install git before checkout
2026-03-16 20:00:42 +01:00

29 lines
550 B
YAML

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
- 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