]> kaliko git repositories - mpd-sima.git/blobdiff - .gitlab-ci.yml
Releasing 0.18.0
[mpd-sima.git] / .gitlab-ci.yml
index 3bd74453b6319b76cf4da936777051a311a1ed43..228dcfbe8805279de22af36f8d20aa6b610da842 100644 (file)
@@ -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,7 +22,7 @@ stages:
 smoketest:
   stage: test
   script:
-  - pip install requests
+  - pip install requests python-musicpd
   - python setup.py test
   # build wheel and source
   - python setup.py bdist_wheel sdist
@@ -39,7 +40,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 +57,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: