Skip to content

Senator history tab #260

Senator history tab

Senator history tab #260

Workflow file for this run

name: CI backend
on:
pull_request:
branches:
- main
paths:
- 'backend/**'
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Start services
run: docker-compose -f backend/docker-compose.test.yml up -d
- name: Wait for services to start
run: sleep 10s
- name: Run Django tests
run: docker-compose -f backend/docker-compose.test.yml run --rm web python manage.py test
- name: Stop services
run: docker-compose -f backend/docker-compose.test.yml down