Skip to content

Commit 542735e

Browse files
authored
Get azure to install and import the previously built wheel (#233)
1 parent 66c39c5 commit 542735e

1 file changed

Lines changed: 8 additions & 5 deletions

File tree

.azurePipeline/python_init_package_install_steps.yml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff 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'
@@ -41,8 +46,6 @@ steps:
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: |

0 commit comments

Comments
 (0)