Bump python-json-logger from 2.0.7 to 3.2.1 in /src #144
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: Run Pytest | |
on: | |
push: | |
branches: | |
- features/** | |
pull_request: | |
branches: | |
- main | |
- master | |
jobs: | |
docker: | |
timeout-minutes: 10 | |
runs-on: ubuntu-latest | |
env: | |
INITIALIZE_DB: false | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v1 | |
- name: Start containers | |
run: docker compose -f "docker-compose.yml" up -d --build | |
- name: Run tests | |
run: docker compose exec -T web pytest -v --ds=tests.settings --show-capture=no | |
- name: Stop containers | |
if: always() | |
run: docker compose -f "docker-compose.yml" down |