Skip to content

Commit

Permalink
fix: paths for sqa reports
Browse files Browse the repository at this point in the history
  • Loading branch information
vykozlov authored Dec 18, 2024
1 parent 5344af4 commit 7f84cfe
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .sqa/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,22 +5,22 @@ sqa_criteria:
ai4life:
container: testing
commands:
- flake8 --statistics --tee --output-file=/srv/app/flake8.log --format=pylint ai4life api tests
- flake8 --statistics --tee --output-file=./flake8.log --format=pylint ai4life api tests

qc_coverage:
repos:
ai4life:
container: testing
commands:
- pytest --cov=api --cov=ai4life --cov-report=html:/srv/app/htmlcov --cov-report=term-missing tests
- pytest --cov=api --cov=ai4life --cov-report=html:./htmlcov --cov-report=term-missing tests

qc_security:
repos:
ai4life:
container: testing
commands:
- mkdir -p /srv/app/bandit
- bandit -r ai4life api -x tests -o /srv/app/bandit/index.html
- bandit -r ai4life api -x tests -o ./bandit/index.html

environment:
GIT_COMMITTER_NAME: "Fahimeh Alibabaei "
Expand Down
1 change: 0 additions & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ pipeline {
always {
script {
if (fileExists("flake8.log")) {
// file locations are defined in tox.ini
// publish results of the style analysis
recordIssues(tools: [flake8(pattern: 'flake8.log',
name: 'PEP8 report',
Expand Down

0 comments on commit 7f84cfe

Please sign in to comment.