diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b2ecd97cbded32dea3be9046cfdaac516bfb0ec2..66302c18f654739d1a65bf86f00b7e0ae0a17447 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -279,7 +279,7 @@ cert: - cd .docker - CAOSHOSTNAME=caosdb-server ./cert.sh -style: +code-style: tags: [docker] stage: style image: $CI_REGISTRY_IMAGE @@ -290,6 +290,17 @@ style: - autopep8 -r --diff --exit-code . allow_failure: true +pylint: + tags: [docker] + stage: style + image: $CI_REGISTRY_IMAGE + needs: + -job: build-testenv + optional: true + allow_failure: true + script: + - pylint --unsafe-load-any-extension=y -d all -e E,F src/caoscrawler + # Build the sphinx documentation and make it ready for deployment by Gitlab Pages # Special job for serving a static website. See https://docs.gitlab.com/ee/ci/yaml/README.html#pages # Based on: https://gitlab.indiscale.com/caosdb/src/caosdb-pylib/-/ci/editor?branch_name=main