Skip to content

test: Add baseline tests for package. #11

test: Add baseline tests for package.

test: Add baseline tests for package. #11

Workflow file for this run

name: Pylint
on:
workflow_run:
workflows:
- Run Pytest
types:
- completed
push:
branches:
- main
pull_request:
jobs:
build:

Check failure on line 15 in .github/workflows/pylint.yml

View workflow run for this annotation

GitHub Actions / Pylint

Invalid workflow file

The workflow is not valid. .github/workflows/pylint.yml (Line: 15, Col: 3): The workflow must contain at least one job with no dependencies.
needs: test
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pylint requests cloudflare
- name: Analysing the code with pylint
run: |
pylint $(git ls-files '*.py')