diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index f1bb59d..803e2b5 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -28,4 +28,14 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install Dependencies - run: + run: | + python -m pip install --upgrade pip + pip install pytest pylint + if [ -f requirements.txt ]; then pip install -r requirements.txt; fi + + - name: Run pylint (Static Code Analysis) + run: | + pylint --disable=C0114,C0116,C0325,C0305 $(git ls-files '*.py') + + - name: Run Tests with pytest + run: pytest tests/