diora-web/.forgejo/workflows/test.yml
marwin aa0b8ee6f9
All checks were successful
Build and push Docker image / build (push) Successful in 12s
Test / test (push) Successful in 13s
Use catthehacker/ubuntu:act-22.04 for tests
2026-03-16 20:03:49 +01:00

26 lines
465 B
YAML

name: Test
on:
push:
branches:
- master
- testing
pull_request:
jobs:
test:
runs-on: ubuntu-latest
container:
image: catthehacker/ubuntu:act-22.04
steps:
- uses: actions/checkout@v4
- name: Install Python 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