Skip to content

Forgot to add requirements.txt... #57

Forgot to add requirements.txt...

Forgot to add requirements.txt... #57

Workflow file for this run

name: CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.11"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
sudo apt install build-essential libdbus-glib-1-dev libgirepository1.0-dev libcairo2-dev
python -m pip install --upgrade pip
python -m pip install pylint pytest git+https://github.com/brendan-w/python-OBD#egg=obd
pip install backend/
- name: Analyzing the backend with pylint
run: |
python -m pylint backend/pilot_drive
- name: Testing the backend with pytest
run: |
python -m pytest backend/