Skip to content

Commit

Permalink
Create ci-linux.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Melyns authored Sep 12, 2024
1 parent 1127d57 commit 03f4c90
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/ci-linux.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
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
- name: Run tests
run: |
pytest --maxfail=1 --disable-warnings -q
- name: Lint code
run: |
pip install pylint
pylint app.py

0 comments on commit 03f4c90

Please sign in to comment.