Implemented submit form functionality. TODO: Send axios client POST r… #76
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: Checks | |
on: [push] | |
jobs: | |
test-lint: | |
name: Backend Test and Lint | |
runs-on: ubuntu-latest | |
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: Test | |
run: > | |
docker-compose run --rm backendapp sh -c " | |
python manage.py wait_for_db && | |
python manage.py test" | |
- name: Lint | |
run: docker-compose run --rm backendapp sh -c "flake8" |