Ignore _version_generated in pylint #9
Workflow file for this run
This file contains 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
on: [push, pull_request] | |
jobs: | |
build-sdist: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- run: python -m venv .venv | |
- run: .venv/bin/pip install build | |
- run: .venv/bin/python -m build --sdist | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: sdist | |
path: dist/videojitter-*.tar.gz | |
if-no-files-found: error | |
pylint: | |
runs-on: ubuntu-latest | |
needs: build-sdist | |
steps: | |
- uses: actions/download-artifact@v3 | |
with: | |
name: sdist | |
- run: tar --gzip --extract --verbose --strip-components=1 --file videojitter-*.tar.gz | |
- run: python -m venv .venv | |
- run: .venv/bin/pip install --requirement pylint-requirements.txt --requirement requirements.txt | |
# TODO: also pylint the test code | |
- run: .venv/bin/pylint src |