Skip to content

Bump fastapi from 0.100.1 to 0.101.0 (#292) #392

Bump fastapi from 0.100.1 to 0.101.0 (#292)

Bump fastapi from 0.100.1 to 0.101.0 (#292) #392

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)