Skip to content

fix tests

fix tests #137

Workflow file for this run

name: Pylint
on:
push:
branches: [ main ]
paths:
- 'l2gv2/**/*.py'
- '.github/workflows/pylint.yml'
pull_request:
branches: [ main ]
paths:
- 'tests/**/*.py'
- '.github/workflows/pylint.yml'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.10
uses: actions/setup-python@v5
with:
python-version: "3.10"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pylint
- name: Analysing the code with pylint
run: |
pylint $(git ls-files 'l2gv2/*.py')
pylint $(git ls-files 'tests/*.py')