21 lines
381 B
YAML
21 lines
381 B
YAML
on:
|
|
push:
|
|
branches:
|
|
- live
|
|
- testing
|
|
jobs:
|
|
test:
|
|
runs-on: docker
|
|
container:
|
|
image: docker.io/python:latest
|
|
steps:
|
|
- 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
|
|
|