Skip to content

Scheduled daily dependency update on Thursday #1318

Scheduled daily dependency update on Thursday

Scheduled daily dependency update on Thursday #1318

Workflow file for this run

name: CI
env:
BRANCH_NAME: ${{ github.head_ref || github.ref_name }}
on:
push:
branches: master
pull_request:
branches: master
jobs:
test:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./piedpiper-web
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.12
uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: Scaffold Project
working-directory: ./
run: |
python -m pip install --upgrade pip
pip install --user cookiecutter
cookiecutter gh:agconti/cookiecutter-django-rest --checkout $BRANCH_NAME --no-input
- name: Build image
run: docker compose up -d --build
- name: Run Web tests
run: docker compose run --rm web bash -c "python3 -m flake8 . &&
python3 -Wall ./manage.py check --deploy &&
python3 wait_for_postgres.py &&
python3 -m pytest --ds=piedpiper.config --dc=Local -p no:cacheprovider -s"