Skip to content

Workflow file for this run

name: Run tests on any Push event
on:
push:
branches:
- '*'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Run Docker Compose
run: docker compose -f docker-compose.yml up -d
- uses: actions/setup-python@v1
with:
python-version: '3.12'
architecture: 'x64'
- name: Install requirements
run: pip install -r requirements.txt
- name: Run tests
run: coverage run -m pytest tests/test_application.py
- name: Tests report
run: coverage report
- name: Start test Code with black
uses: psf/black@stable
with:
options: "--check --verbose"
src: "./app"
version: "~= 22.0"