add test stage in workflow
This commit is contained in:
parent
fde173baf7
commit
9f7ca5c236
1 changed files with 13 additions and 1 deletions
|
@ -1,6 +1,18 @@
|
||||||
on: [push]
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- live
|
||||||
|
- testing
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
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
|
runs-on: docker
|
||||||
container:
|
container:
|
||||||
image: docker.io/serversideup/ansible:latest
|
image: docker.io/serversideup/ansible:latest
|
||||||
|
|
Loading…
Reference in a new issue