Scheduled daily dependency update on Saturday #985
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: CI | |
on: | |
push: | |
branches: master | |
pull_request: | |
branches: master | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: ./piedpiper-web | |
steps: | |
- name: Set up Python 3.8 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.8 | |
- name: Scaffold Project | |
working-directory: ./ | |
run: | | |
python -m pip install --upgrade pip | |
pip install --user cookiecutter | |
cookiecutter gh:agconti/cookiecutter-django-rest --no-input | |
- name: Start docker-compose | |
run: docker-compose up -d | |
- name: Run Web tests | |
run: docker-compose run --rm web bash -c "flake8 . && | |
python wait_for_postgres.py && | |
python -Wall ./manage.py test" |