c3lf-system-3/.forgejo/workflows/test.yml
jedi 1408aa1713
All checks were successful
/ test (push) Successful in 52s
/ deploy (push) Successful in 4m57s
test on every push
2024-11-17 22:07:52 +01:00

21 lines
534 B
YAML

on:
pull_request:
push:
jobs:
test:
runs-on: docker
container:
image: ghcr.io/catthehacker/ubuntu:act-22.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.11'
cache-dependency-path: '**/requirements.dev.txt'
- name: Install dependencies
working-directory: core
run: pip3 install -r requirements.dev.txt
- name: Run django tests
working-directory: core
run: python3 manage.py test