From ae6201c575e1492a5ce90a54bfa3410c1b4c1a69 Mon Sep 17 00:00:00 2001 From: Paul Gessinger <hello@paulgessinger.com> Date: Tue, 17 Oct 2017 13:05:06 +0200 Subject: [PATCH] add format and license check CI jobs no submodules for check jobs --- .gitlab-ci.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index fd26e29b..a9e58a62 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 . -- GitLab