Commit ba8b23e6 authored by Ruben ten Hove's avatar Ruben ten Hove
Browse files

ci: allow testing safety failure

parent d4e24ba1
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -9,9 +9,3 @@ include:
python:twine:
  rules:
    - if: ($CI_COMMIT_TAG =~ /^v[0-9]+(\.[0-9]+){2}(.*)$/)

python:bandit:
  allow_failure: true

python:safety:
  allow_failure: true
+1 −0
Original line number Diff line number Diff line
@@ -21,3 +21,4 @@ python:bandit:
    - bandit --version
    - bandit --verbose --recursive . --exclude "${BANDIT_EXCLUDE_PATHS}" --skip
      "${BANDIT_SKIP_CHECK}" ${BANDIT_EXTRA_ARGS}
  allow_failure: true
+1 −0
Original line number Diff line number Diff line
@@ -23,3 +23,4 @@ python:safety:
    - !reference [".python:pre-install", script]
    - safety --disable-optional-telemetry check ${SAFETY_DEFAULT_ARGS}
      ${SAFETY_EXTRA_ARGS}
  allow_failure: true
+0 −1
Original line number Diff line number Diff line
@@ -7,7 +7,6 @@ include:
variables:
  PYTHON_CONTEXT: tests/mockup_projects/python/pep518
  PYINSTALLER_TARGET: tests/mockup_projects/python/pep518/mymodule.spec
  SAFETY_EXTRA_ARGS: --ignore 67599

python:build:setuptools:
  extends: python:build