Update .gitlab-ci.yml file
This commit is contained in:
@@ -35,30 +35,6 @@ unittest:
|
|||||||
script:
|
script:
|
||||||
- pytest -v
|
- 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:
|
qodana:
|
||||||
stage: 'code_quality'
|
stage: 'code_quality'
|
||||||
needs: ['gemnasium-python-dependency_scanning', 'semgrep-sast', 'kics-iac-sast']
|
needs: ['gemnasium-python-dependency_scanning', 'semgrep-sast', 'kics-iac-sast']
|
||||||
|
|||||||
Reference in New Issue
Block a user