Last active
October 18, 2020 18:53
-
-
Save bh11111/b689fa9eced9070a404d486dd7c88600 to your computer and use it in GitHub Desktop.
Github Action for Running Pylint and Passing/ Failing based on Score
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
name: PyLint Runner | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Set up Python 3.7 | |
uses: actions/setup-python@v1 | |
with: | |
python-version: 3.7 | |
- name: Install Requirements | |
run: | | |
python -m pip install --upgrade pip | |
pip install pylint | |
- name: Run Pylint | |
run: | | |
python lint.py --path ./src --threshold 2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment