omschrijving extern #141
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: | |
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 |