Skip to content

profiel and context #103

profiel and context

profiel and context #103

name: 'Install, lint, test & build'
on:
pull_request:
branches:
- main
- develop
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v3.1.2
with:
python-version: 3.9.15
- name: Linting
run: bash bin/cleanup_pre_commit.sh
- name: Build Docker images
run: docker compose -f docker-compose.test.yaml build
- name: Create Docker network
run: docker network create regie_network
- name: Start images
run: docker compose -f docker-compose.test.yaml up -d
- name: Run Tests
run: docker compose -f docker-compose.test.yaml exec -T app bash ./deploy/tests.sh