Skip to content

add healthchecks, set specific version to pylint and pipreqs, update … #179

add healthchecks, set specific version to pylint and pipreqs, update …

add healthchecks, set specific version to pylint and pipreqs, update … #179

Workflow file for this run

name: PEP8 Style Guide Enforcement & Requirements check
on: [push]
jobs:
base_check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.10
uses: actions/setup-python@v2
with:
python-version: "3.10"
- name: Installation of testing utilities (Pipreqs, Pylint)
run: |
python -m pip install --upgrade pip
pip install pipreqs==0.5.0 pylint==3.2.4
- name: Dependency check (Run Pipreqs)
run: |
pipreqs --savepath src/reqs-check.txt --mode no-pin src/
python requirements_check.py src/requirements.txt src/reqs-check.txt
- name: Install Dependencies
run: |
pip install -r src/requirements.txt
- name: Style check (Run Pylint)
run: |
pylint $(git ls-files 'src/*.py')