Quick update to prepapre the 5.1.2 release
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
name: Pylinter
|
||||
|
||||
on:
|
||||
workflow_call:
|
||||
push:
|
||||
branches-ignore:
|
||||
- main
|
||||
- develop
|
||||
|
||||
|
||||
jobs:
|
||||
unit-test:
|
||||
name: Python Linter
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@main
|
||||
- uses: actions/setup-python@v2
|
||||
with:
|
||||
python-version: "3.10"
|
||||
- name: Install the linter app and set package name
|
||||
id: config
|
||||
run: |
|
||||
echo "::set-output name=folder::$(python '.github/package.py')"
|
||||
python -m pip install --upgrade pip
|
||||
python -m pip install -r linter/requirements_linter.txt
|
||||
- name: Execute Pylint
|
||||
run: |
|
||||
cd ${{ github.workspace }}
|
||||
python '${{ github.workspace }}/.github/lint.py' --module=${{ steps.config.outputs.folder }}
|
||||
Reference in New Issue
Block a user