Skip to content

Bump idna from 3.4 to 3.15 #92

Bump idna from 3.4 to 3.15

Bump idna from 3.4 to 3.15 #92

name: Test Application
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
env:
PORT: 8000
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.11'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Start the app
run: uvicorn main:app --host 0.0.0.0 --port ${{ env.PORT }} &
- name: Sleep for 1 minute
run: sleep 60
- name: Stop the app
run: pkill -f 'uvicorn main:app'