Skip to content

Budget portal

Budget portal #1403

Workflow file for this run

name: Budget portal
on:
push:
pull_request:
schedule:
- cron: '0 0 * * 0' # weekly
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 18
- name: Build frontend assets
run: |
npm install -g [email protected]
yarn
yarn build
- name: Build images
run: |
docker-compose build
- name: Run tests
run: |
docker-compose run --rm app python manage.py collectstatic --no-input
docker-compose run --rm -e DJANGO_Q_SYNC=TRUE app python manage.py test
docker-compose run --rm app black --check --diff budgetportal manage.py discourse performance iym
- name: Dump dependency logs for debugging
if: ${{ failure() }}
run: |
docker-compose logs db solr minio selenium