Skip to content

Complete Setup done. #2

Complete Setup done.

Complete Setup done. #2

Workflow file for this run

---
name: Checks
on: [push]
jobs:
db-test:
name: Test
runs-on: ubuntu-20.04
steps:
- name: Login to docker hub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKERHUB_USER }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Checkout
uses: actions/checkout@v2
- name: Wait_for_DB
run: docker-compose run --rm app sh -c "python manage.py wait_for_db"
- name: Test
run: docker-compose run --rm app sh -c "python manage.py test"