diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index fd26e29b9139e3836d8d23c062986c9efbd7da55..a9e58a62f8d52484a639f28074663eec4d3a3fd4 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -4,6 +4,7 @@ stages: - build_core - build_framework - test + - check variables: BUILD_TYPE: Release @@ -98,3 +99,28 @@ reproducibility_generic_extrapolation: - source install_default/bin/setup.sh - cd scripts - ./testReproducibility.sh GenericExtrapolation excells_charged + + +format: + stage: check + image: gitlab-registry.cern.ch/acts/machines/check:latest + variables: + GIT_SUBMODULE_STRATEGY: none # we don't need to check core submodule + before_script: [] + dependencies: [] + script: + - CI/check_format . + artifacts: + paths: + - changed + when: on_failure + +license: + stage: check + image: python:alpine3.6 + variables: + GIT_SUBMODULE_STRATEGY: none # we don't need to check core submodule + before_script: [] + dependencies: [] + script: + - CI/check_license.py .