SIENTIAPDE-1030
some fixes in workflow
This commit is contained in:
4
.github/quality-gate.yml
vendored
4
.github/quality-gate.yml
vendored
@@ -76,7 +76,7 @@ jobs:
|
|||||||
- name: 🧪 Run Tests with Pytest
|
- name: 🧪 Run Tests with Pytest
|
||||||
run: |
|
run: |
|
||||||
set +e
|
set +e
|
||||||
pytest tests --junitxml=pytest.xml --cov=scouter --cov-report=xml --cov-report=term
|
pytest tests --junitxml=pytest.xml --cov=orchestrator --cov-report=xml --cov-report=term
|
||||||
PYTEST_EXIT_CODE=$?
|
PYTEST_EXIT_CODE=$?
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
@@ -98,7 +98,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
sonar-scanner \
|
sonar-scanner \
|
||||||
-Dsonar.projectKey=$SONAR_PROJECT_KEY \
|
-Dsonar.projectKey=$SONAR_PROJECT_KEY \
|
||||||
-Dsonar.sources=scouter \
|
-Dsonar.sources=orchestrator \
|
||||||
-Dsonar.tests=tests \
|
-Dsonar.tests=tests \
|
||||||
-Dsonar.python.coverage.reportPaths=coverage.xml \
|
-Dsonar.python.coverage.reportPaths=coverage.xml \
|
||||||
-Dsonar.python.xunit.reportPath=pytest.xml \
|
-Dsonar.python.xunit.reportPath=pytest.xml \
|
||||||
|
|||||||
Reference in New Issue
Block a user