File tree Expand file tree Collapse file tree 1 file changed +16
-4
lines changed
Expand file tree Collapse file tree 1 file changed +16
-4
lines changed Original file line number Diff line number Diff line change @@ -37,14 +37,26 @@ jobs:
3737
3838 - script : |
3939 python -m pip install --upgrade pip
40- python -m pip install numpy
41- python -m pip install scipy
40+ pip install numpy
41+ pip install scipy
4242 displayName: 'Install dependencies'
4343
4444 - script : |
45- python -m pip install . --no-deps -vv
45+ pip install -ve .
4646 displayName: 'build'
4747
48+ - script : env
49+ displayName : ' print env'
50+
4851 - script : |
49- python tests/test_basic.py
52+ env
53+ pip install pytest
54+ pip install pytest-cov
55+ pytest tests --doctest-modules --junitxml=junit/test-results.xml --cov=com --cov-report=xml --cov-report=html
5056 displayName: 'testing'
57+
58+ - task : PublishTestResults@2
59+ condition : succeededOrFailed()
60+ inputs :
61+ testResultsFiles : ' **/test-*.xml'
62+ testRunTitle : ' Publish test results for Python $(python.version)'
You can’t perform that action at this time.
0 commit comments