Merge pull request #81 from Allsimon/resolve-symlinks-in-self-location #86
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Pylint | |
| on: | |
| push: | |
| paths: | |
| - .pylintrc | |
| - bin/kube-diagrams | |
| - '**.py' | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"] | |
| 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: | | |
| sudo apt install -y graphviz graphviz-dev | |
| python -m pip install --upgrade pip | |
| pip install pylint setuptools PyYAML diagrams graphviz2drawio | |
| - name: Analysing the code with pylint | |
| run: | | |
| pylint bin/kube-diagrams setup.py | |
| # $(git ls-files '*.py') commented to not pylint webapp/backend |