Commit e5170a44 authored by Jason Frisvold's avatar Jason Frisvold
Browse files

- Add sonarqube debugging

- Fix junit argument
- Remove coverage report relocation
parent 5fb8644d
......@@ -20,7 +20,7 @@ unit-test:
- pip install pytest pytest-cov
- pytest
--cov-config .coveragerc
--junitxml=result.xml
--junit-xml=result.xml
--cov=.
--cov-report term
--cov-report xml
......@@ -40,7 +40,4 @@ sonarqube:
SONAR_URL: https://sq.godshell.com
SONAR_ANALYSIS_MODE: publish
script:
- ls -la
- mkdir /coverage
- cp *.xml /coverage
- gitlab-sonar-scanner
- gitlab-sonar-scanner -X
......@@ -18,9 +18,9 @@ tests=src/tests
# python
sonar.python.xunit.skipdetails=true
sonar.python.coverage.reportpath=/coverage/coverage.xml
sonar.python.coverage.overallreportpath=/coverage/coverage.xml
sonar.python.xunit.reportpath=/coverage/result.xml
sonar.python.coverage.reportpath=coverage.xml
sonar.python.coverage.overallreportpath=coverage.xml
sonar.python.xunit.reportpath=result.xml
sonar.python.coverage.forcezerocoverage=true
sonar.coverage.exclusions=src/sandbox/*,src/old_tests,data/*,requires/*
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment