Skip to content

Merge branch 'main' of https://github.com/DominikDrabik/recipe-app-api #10

Merge branch 'main' of https://github.com/DominikDrabik/recipe-app-api

Merge branch 'main' of https://github.com/DominikDrabik/recipe-app-api #10

Workflow file for this run

---
name: checks
on: [push]
jobs:
test-lint:
name: Test and Lint
runs-on: ubuntu-20.04
steps:
- name: Login to Docker Hub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKERHUB_USER }}
password: ${{ secrets.DOCKERHUB_ACCESS_TOKEN }}
- name : Checkout code
uses: actions/checkout@v2
- name: Test
run: docker-compose run --rm app sh -c "python manage.py wait_for_db && python manage.py test"