Skip to content

Revert "Bump fastapi from 0.100.0 to 0.109.1 (#25)" #121

Revert "Bump fastapi from 0.100.0 to 0.109.1 (#25)"

Revert "Bump fastapi from 0.100.0 to 0.109.1 (#25)" #121

Workflow file for this run

name: Tests
on: [push]
jobs:
run-api-tests:
runs-on: ubuntu-latest
steps:
- name: pulling git repo
uses: actions/checkout@v3
- name: Install python version 3.11
uses: actions/setup-python@v4
with:
python-version: "3.11"
# cache: 'pip' # caching pip dependencies
- name: Cache dependencies
uses: actions/cache@v2
with:
path: ~/.cache/pip
key: pip-requirements-${{ hashFiles('**/requirements.txt') }}
- name: install all dependencies
run: |
pip install -r requirements.txt
- name: lint with ruff
uses: chartboost/ruff-action@v1
with:
args: "check"
- name: Create env file
run: |
touch .env
echo CLIENT_ID=${{ secrets.CLIENT_ID }} >> .env
echo CLIENT_SECRET=${{ secrets.CLIENT_SECRET }} >> .env
cat .env
- name: test with pytest
run: |
python -m pytest