Skip to content

Instantly share code, notes, and snippets.

@bh11111
Last active October 18, 2020 18:53
Show Gist options
  • Save bh11111/b689fa9eced9070a404d486dd7c88600 to your computer and use it in GitHub Desktop.
Save bh11111/b689fa9eced9070a404d486dd7c88600 to your computer and use it in GitHub Desktop.
Github Action for Running Pylint and Passing/ Failing based on Score
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