Skip to content

Yrob/GitHub ci

Yrob/GitHub ci #2

Workflow file for this run

name: Test
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
- name: Stop containers
if: always()
run: docker compose -f "docker-compose.yml" down