Skip to content

Bump fastapi from 0.103.1 to 0.109.1 (#57) #123

Bump fastapi from 0.103.1 to 0.109.1 (#57)

Bump fastapi from 0.103.1 to 0.109.1 (#57) #123

Workflow file for this run

name: Unit test
on:
pull_request:
branches: main
push:
branches: main
jobs:
build:
name: unit test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.11'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
pip install -e ".[test]"
- name: Running Unit tests
run: |
pytest tests/ --doctest-modules --cov=src --cov-report=xml
- name: Code Coverage Summary Report
uses: irongut/[email protected]
with:
filename: coverage.xml
badge: true
format: 'markdown'
output: 'both'
- name: Write to Job Summary
run: cat code-coverage-results.md >> $GITHUB_STEP_SUMMARY