Skip to content
Snippets Groups Projects
Commit f5110e69 authored by Alexandru Fikl's avatar Alexandru Fikl Committed by Andreas Klöckner
Browse files

add pylint to ci

parent 6a961e7e
No related branches found
No related tags found
No related merge requests found
...@@ -23,6 +23,20 @@ jobs: ...@@ -23,6 +23,20 @@ jobs:
curl -L -O https://gitlab.tiker.net/inducer/ci-support/raw/main/prepare-and-run-flake8.sh curl -L -O https://gitlab.tiker.net/inducer/ci-support/raw/main/prepare-and-run-flake8.sh
. ./prepare-and-run-flake8.sh "$(basename $GITHUB_REPOSITORY)" test examples benchmarks . ./prepare-and-run-flake8.sh "$(basename $GITHUB_REPOSITORY)" test examples benchmarks
pylint:
name: Pylint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: "Main Script"
run: |
USE_CONDA_BUILD=1
EXTRA_INSTALL="pyvisfile scipy matplotlib"
curl -L -O https://tiker.net/ci-support-v0
. ci-support-v0
build_py_project
run_pylint "$(basename $GITHUB_REPOSITORY)" test/test_*.py
docs: docs:
name: Documentation name: Documentation
runs-on: ubuntu-latest runs-on: ubuntu-latest
......
...@@ -128,6 +128,17 @@ Flake8: ...@@ -128,6 +128,17 @@ Flake8:
except: except:
- tags - tags
Pylint:
script:
- EXTRA_INSTALL="pybind11 numpy mako scipy matplotlib pyvisfile mpi4py"
- curl -L -O https://tiker.net/ci-support-v0
- . ci-support-v0
- build_py_project
tags:
- python3
except:
- tags
Benchmarks: Benchmarks:
stage: test stage: test
script: | script: |
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment