26 lines
445 B
YAML
26 lines
445 B
YAML
name: Test
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
- testing
|
|
pull_request:
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
container:
|
|
image: python:3.12-slim
|
|
|
|
steps:
|
|
- 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
|