1 # Official language image. Look for the different tagged releases at:
2 # https://hub.docker.com/_/python
6 - local: .gitlab/gitlab-templates.yml
7 - local: .gitlab/pylint.yml
8 - template: Security/SAST.gitlab-ci.yml
11 #XDG_CACHE_HOME: "$CI_PROJECT_DIR/.cache"
12 PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache"
25 - pip install requests musicpd
26 - python setup.py test
27 # build wheel and source
28 - python setup.py bdist_wheel sdist
30 - pip install dist/*.whl
43 - pip install pytest-cov requests
44 - py.test -q --cov=sima --junitxml=report.xml tests
53 # test virtualenv install
54 - python3 ./vinstall.py
62 SAST_EXCLUDED_ANALYZERS: brakeman, eslint, flawfinder, gosec, kubesec, nodejs-scan,
63 phpcs-security-audit, pmd-apex, security-code-scan, semgrep, sobelow, spotbugs
77 name: "$CI_PROJECT_NAME-$CI_COMMIT_TAG"