Powerbrowser #2895
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: 'Install, lint, test & build' | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master, develop ] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python | |
uses: actions/[email protected] | |
with: | |
python-version: 3.9.16 | |
- name: Linting | |
run: bash bin/cleanup_pre_commit.sh | |
- name: Build Docker image | |
run: docker-compose build | |
- name: Create Docker network | |
run: docker network create zaken_network | |
- name: Create TOP and Zaken Docker network | |
run: docker network create top_and_zaak_backend_bridge | |
- name: Start images | |
run: docker-compose up -d | |
- name: Run Tests | |
run: docker-compose exec -T zaak-gateway python manage.py test |