Bump django from 3.2.23 to 3.2.24 #620
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: Execute the tests | |
on: | |
push: | |
branches: | |
- use-github-actions | |
- master | |
- develop | |
- dependabot/** | |
pull_request: | |
branches: | |
- develop | |
- master | |
jobs: | |
tests: | |
timeout-minutes: 15 | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout the repository | |
uses: actions/checkout@v2 | |
- name: Prepare DAISY settings for CI | |
run: cp elixir_daisy/settings_compose_ci.py elixir_daisy/settings_compose.py | |
- name: Build and start containers | |
run: docker-compose up -d --build | |
- name: Check code formatting with Black | |
run: docker-compose exec -T web black --check --verbose . | |
- name: Install test dependencies | |
run: docker-compose exec -T web pip install ".[test]" | |
- name: Execute the tests | |
run: docker-compose exec -T web pytest | |
- name: Stop containers | |
if: always() | |
run: docker-compose down |