Add pylint CI config

This commit is contained in:
Andreas Kloeckner 2021-03-24 17:47:26 -05:00
parent c4bab4d6bc
commit 4ba3237482
2 changed files with 24 additions and 0 deletions
.github/workflows
.gitlab-ci.yml

View File

@ -80,5 +80,19 @@ jobs:
build_py_project_in_venv
build_docs
pylint:
name: Pylint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
-
uses: actions/setup-python@v1
with:
python-version: '3.x'
- name: "Main Script"
run: |
curl -L -O -k https://gitlab.tiker.net/inducer/ci-support/raw/master/prepare-and-run-pylint.sh
. ./prepare-and-run-pylint.sh "$(basename $GITHUB_REPOSITORY)" test/test_*.py
# vim: sw=4

View File

@ -30,3 +30,13 @@ Documentation:
- ". ./build-docs.sh"
tags:
- python3
Pylint:
script: |
export PY_EXE=python3
curl -L -O -k https://gitlab.tiker.net/inducer/ci-support/raw/master/prepare-and-run-pylint.sh
. ./prepare-and-run-pylint.sh "$CI_PROJECT_NAME" test/test_*.py
tags:
- python3
except:
- tags