Skip to content

Commit b1fe4bf

Browse files
committed
Update azure-pipelines.yml for Azure Pipelines
1 parent 36c8c7a commit b1fe4bf

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

azure-pipelines.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,7 @@ steps:
2626
displayName: 'Use Python $(python.version)'
2727

2828
- script: |
29-
python -m pip install --upgrade pip
30-
pip install -r requirements.txt
31-
displayName: 'Install dependencies'
32-
33-
- script: |
34-
pip install pytest pytest-azurepipelines
35-
pytest
36-
displayName: 'pytest'
29+
pip install pytest
30+
pip install pytest-cov
31+
pytest tests --doctest-modules --junitxml=junit/test-results.xml --cov=com --cov-report=xml --cov-report=html
32+
displayName: 'Test with pytest'

0 commit comments

Comments
 (0)