Skip to content

Update test.py

Update test.py #11

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: '3.10'
- name: Install dependencies
run: |
pip install fastapi uvicorn requests pytest httpx jinja2
- name: Run tests
run: |
pytest .github/test.py --maxfail=1 --disable-warnings -q
- name: Lint code
run: |
pip install pylint
pylint app.py