From 47287ad1eb2d326e74a2381e51bd8e1bb5a6ed15 Mon Sep 17 00:00:00 2001 From: Czar Echavez Date: Sat, 2 Dec 2023 13:44:39 +0000 Subject: [PATCH] #2084: fixing 0% coverage --- .azure/azure-ci-build-pipeline.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.azure/azure-ci-build-pipeline.yaml b/.azure/azure-ci-build-pipeline.yaml index 0e150a50..5759e70e 100644 --- a/.azure/azure-ci-build-pipeline.yaml +++ b/.azure/azure-ci-build-pipeline.yaml @@ -104,7 +104,7 @@ stages: version: '2.1.x' - script: | - pytest -v --cov=src/ -o junit_family=xunit2 --junitxml=junit/test-results.xml --cov-report xml:$(System.DefaultWorkingDirectory)/coverage.xml --cov-report html:$(System.DefaultWorkingDirectory)/htmlcov --cov-report term + pytest -v --cov=$(System.DefaultWorkingDirectory)/src/ -o junit_family=xunit2 --junitxml=junit/test-results.xml --cov-report xml:$(System.DefaultWorkingDirectory)/coverage.xml --cov-report html:$(System.DefaultWorkingDirectory)/htmlcov --cov-report term displayName: 'Run tests and code coverage' - task: PublishTestResults@2