Skip to content

Add initial implementation of lidar API with FastAPI, Docker, and Kub… #1

Add initial implementation of lidar API with FastAPI, Docker, and Kub…

Add initial implementation of lidar API with FastAPI, Docker, and Kub… #1

name: Quality Checks
on:
pull_request:
branches: [main, dev]
push:
branches: [main, dev]
jobs:
quality:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.10
uses: actions/setup-python@v4
with:
python-version: "3.10"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Lint with Flake8
run: |
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
- name: Format with Black
run: black . --check
- name: Test with Pytest
run: pytest