Skip to content

Fix for https://github.com/Rexeh/joystick-diagrams/issues/66 #41

Fix for https://github.com/Rexeh/joystick-diagrams/issues/66

Fix for https://github.com/Rexeh/joystick-diagrams/issues/66 #41

Workflow file for this run

name: Linting & Tests
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.11"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install poetry
poetry install
poetry add pylint-exit
- name: Analysing the code with pylint
run: |
poetry run pylint --rcfile pyproject.toml joystick_diagrams/ tests/ || poetry run pylint-exit $?