Skip to content

Commit

Permalink
Update azure-pipelines.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
dimtsap authored Feb 17, 2021
1 parent 7d03612 commit 9037337
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ steps:
cliSources: '.'
extraProperties: |
sonar.exclusions=**/example/**
sonar.python.coverage.reportPaths=coverage.xml
sonar.python.coverage.reportPaths=./coverage.xml
sonar.branch.name=feature/CI
- script: |
Expand All @@ -84,9 +84,9 @@ steps:
- script: |
pip install pytest pytest-cov
#echo "##vso[task.setvariable variable=PATH]${​​​​​​​​PATH}​​​​​​​​:$(Build.SourcesDirectory)/src/UQpy"
#python -m pytest tests/*.py --cov=src --cov-report=xml --cov-report=html
pytest tests/ --cov-config .coveragerc --doctest-modules --junitxml=junit/test-results.xml --cov=src --cov-report=xml --cov-report=html
#pytest tests/ --cov-config .coveragerc --doctest-modules --junitxml=junit/test-results.xml --cov=src --cov-report=xml --cov-report=html
pytest tests/*.py --cov-config .coveragerc --import-mode=importlib --doctest-modules --junitxml=junit/test-results.xml --cov=src --cov-report=xml --cov-report=html
workingDirectory: $(Build.SourcesDirectory)
displayName: 'Test with pytest'
Expand Down

0 comments on commit 9037337

Please sign in to comment.