Add pylint CI config
This commit is contained in:
parent
c4bab4d6bc
commit
4ba3237482
14
.github/workflows/ci.yml
vendored
14
.github/workflows/ci.yml
vendored
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user