File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -14,13 +14,18 @@ steps:
1414 pip install -r requirements.txt
1515 displayName : ' Install Python requirements'
1616
17- - script : python setup.py sdist bdist_wheel --universal
17+ - script : python setup.py sdist bdist_wheel
1818 env :
1919 CC : ${{ parameters.compiler }}
20- displayName : ' Package'
20+ displayName : ' Build Package'
21+
22+ - bash : |
23+ pip install dist/anonlink*.whl
24+ python -c "import anonlink; print(anonlink.__version__)"
25+ displayName : ' Install anonlink wheel'
2126
2227- script : pip install -e .
23- displayName : ' Install anonlink'
28+ displayName : ' Install anonlink for testing '
2429
2530- script : pytest --cov=anonlink --junitxml=testoutput.xml --cov-report=xml:coverage.xml --cov-report=html:htmlcov -W ignore::DeprecationWarning
2631 displayName : ' pytest'
4146 inputs :
4247 codeCoverageTool : Cobertura
4348 summaryFileLocation : ' coverage.xml'
44- # Seems to create warning as this step is already creating its own html pages.
45- # reportDirectory: 'htmlcov'
4649 failIfCoverageEmpty : true
4750
4851- bash : |
You can’t perform that action at this time.
0 commit comments