Update .gitlab-ci.yml file

This commit is contained in:
Slava
2024-03-17 21:33:40 +00:00
parent 4c5a5718fc
commit 4598294bd1

View File

@@ -35,30 +35,6 @@ unittest:
script:
- pytest -v
coverage:
stage: 'code_quality'
needs: [ 'gemnasium-python-dependency_scanning', 'semgrep-sast', 'kics-iac-sast' ]
image:
name: jetbrains/qodana-python-community
entrypoint:
- ''
cache:
- key: qodana-2023.3-$CI_DEFAULT_BRANCH-$CI_COMMIT_REF_SLUG
fallback_keys:
- qodana-2023.3-$CI_DEFAULT_BRANCH-
- qodana-2023.3-
paths:
- ".qodana/cache"
variables:
QODANA_TOKEN: "$qodana_token2"
script:
- qodana --save-report --results-dir=$CI_PROJECT_DIR/.qodana/results --cache-dir=$CI_PROJECT_DIR/.qodana/cache --coverage-dir=$CI_PROJECT_DIR/coverage
artifacts:
expose_as: 'Coverage'
expire_in: 1 week
paths:
- ".qodana/coverage/"
qodana:
stage: 'code_quality'
needs: ['gemnasium-python-dependency_scanning', 'semgrep-sast', 'kics-iac-sast']