Skip to content

Switch to pre-commit mirror for black #449

Switch to pre-commit mirror for black

Switch to pre-commit mirror for black #449

Workflow file for this run

# This workflow will install Python dependencies, run tests and lint with a single version of Python
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
name: Python application
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build docker stack
run: docker compose build
- name: Start docker stack
run: docker compose up -d
- name: Check with mypy
run: docker compose exec test mypy .
- name: Test with pytest
run: docker compose exec test pytest || (docker compose logs sertifikatsok && return 1)