23 lines
453 B
YAML
23 lines
453 B
YAML
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
|
|
steps:
|
|
- run: ansible --version
|
|
|