Loading .gitlab-ci.yml +5 −0 Original line number Diff line number Diff line Loading @@ -13,6 +13,7 @@ include: - local: "python/flake8.yml" - local: "python/pylic.yml" - local: "python/vulture.yml" - local: "c/cppcheck.yml" - local: "c/flawfinder.yml" Loading Loading @@ -72,6 +73,10 @@ python:pylic: before_script: - cd templates_tests/python python:vulture: before_script: - cd templates_tests/python docker:kaniko:python-old: extends: docker:kaniko variables: Loading python/vulture.yml 0 → 100644 +16 −0 Original line number Diff line number Diff line --- # See https://github.com/jendrikseipp/vulture for details python:vulture: stage: test variables: MIN_CONFIDENCE: 100 CHECK_PATH: "./${PYTHON_PACKAGE}" DEFAULT_ARGS: "--ignore-names test_* --exclude tests/" image: registry.gitlab.com/notno/python-tests before_script: - pip install . script: - pip install vulture - python -m vulture --min-confidence ${MIN_CONFIDENCE} ${CHECK_PATH} needs: [] Loading
.gitlab-ci.yml +5 −0 Original line number Diff line number Diff line Loading @@ -13,6 +13,7 @@ include: - local: "python/flake8.yml" - local: "python/pylic.yml" - local: "python/vulture.yml" - local: "c/cppcheck.yml" - local: "c/flawfinder.yml" Loading Loading @@ -72,6 +73,10 @@ python:pylic: before_script: - cd templates_tests/python python:vulture: before_script: - cd templates_tests/python docker:kaniko:python-old: extends: docker:kaniko variables: Loading
python/vulture.yml 0 → 100644 +16 −0 Original line number Diff line number Diff line --- # See https://github.com/jendrikseipp/vulture for details python:vulture: stage: test variables: MIN_CONFIDENCE: 100 CHECK_PATH: "./${PYTHON_PACKAGE}" DEFAULT_ARGS: "--ignore-names test_* --exclude tests/" image: registry.gitlab.com/notno/python-tests before_script: - pip install . script: - pip install vulture - python -m vulture --min-confidence ${MIN_CONFIDENCE} ${CHECK_PATH} needs: []