add test stage in workflow

This commit is contained in:
j3d1 2024-11-09 05:28:27 +01:00
parent fde173baf7
commit 50bc572ec6

View file

@ -1,6 +1,20 @@
on: [push]
on:
push:
branches:
- live
- testing
jobs:
test:
runs-on: docker
container:
image: docker.io/python:latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- run: pip install -r core/requirements.dev.txt
- run: python manage.py test
deploy:
runs-on: docker
container:
image: docker.io/serversideup/ansible:latest