Skip to content

Bump fastapi from 0.101.1 to 0.103.2 #92

Bump fastapi from 0.101.1 to 0.103.2

Bump fastapi from 0.101.1 to 0.103.2 #92

Workflow file for this run

---
# This workflow will install Python dependencies and run tests so that
# unit tests can be run against pull requests.
name: Unit-Tests
on:
pull_request:
paths-ignore:
- '**.md' # All markdown files in the repository
workflow_call:
jobs:
unit-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/cache@v3
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
restore-keys: |
${{ runner.os }}-pip-
- name: Set up Python 3.11
uses: actions/setup-python@v4
with:
python-version: 3.11
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements-dev.txt
pip install pytest
- name: Test with Pytest unit tests
run: |
export DEBUG=True
python -m pytest