X-Git-Url: https://git.kaliko.me/?a=blobdiff_plain;f=.gitlab-ci.yml;h=8379c87799f6f7d06aadf0ccdde9ee8fd26ea884;hb=339492ad21180a64575742f3eb71f7bfafb3b91a;hp=3bd74453b6319b76cf4da936777051a311a1ed43;hpb=406fd4576b5e8a5f8026a54018d57861fa546596;p=mpd-sima.git diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 3bd7445..8379c87 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -5,6 +5,7 @@ image: python:3 include: - local: .gitlab/gitlab-templates.yml - local: .gitlab/pylint.yml + - template: Security/SAST.gitlab-ci.yml variables: #XDG_CACHE_HOME: "$CI_PROJECT_DIR/.cache" @@ -21,10 +22,12 @@ stages: smoketest: stage: test script: - - pip install requests + - pip install requests python-musicpd sphinx - python setup.py test # build wheel and source - python setup.py bdist_wheel sdist + # manual and HTML documentation + - python setup.py build_sphinx # install - pip install dist/*.whl # smoke test @@ -39,7 +42,7 @@ smoketest: unittests: stage: test script: - - pip install pytest-cov requests + - pip install pytest-cov requests python-musicpd - py.test -q --cov=sima --junitxml=report.xml tests artifacts: when: always @@ -56,6 +59,12 @@ vinstall: artifacts: expire_in: 1 hour +sast: + variables: + SAST_EXCLUDED_ANALYZERS: brakeman, eslint, flawfinder, gosec, kubesec, nodejs-scan, + phpcs-security-audit, pmd-apex, security-code-scan, semgrep, sobelow, spotbugs + stage: test + tag_release: stage: build dependencies: