Commit 241e8ee6 authored by Ruben ten Hove's avatar Ruben ten Hove
Browse files

feat: add vulture job

parent e444650c
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -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"
@@ -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:

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: []