Skip to content

Commit 79b6e68

Browse files
committed
Fix test install
1 parent 87de6e2 commit 79b6e68

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

eng/templates/build.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,14 @@ jobs:
6565
# PRs to main and main itself; this step is defense-in-depth to ensure
6666
# the artifacts we're about to ship are at least importable and pass
6767
# the pure-Python unit tests.
68+
#
69+
# `requirements.txt` brings in the test-time dependencies (opentelemetry,
70+
# grpcio, etc.) that the test modules import. We install it before the
71+
# built wheels so the wheels (which are what we're actually validating)
72+
# take precedence over any editable/source install of the same package.
6873
- script: |
6974
set -e
75+
python -m pip install -r requirements.txt
7076
python -m pip install $(Build.ArtifactStagingDirectory)/buildoutputs/durabletask/*.whl
7177
python -m pip install $(Build.ArtifactStagingDirectory)/buildoutputs/durabletask-azuremanaged/*.whl
7278
displayName: "Install built wheels"

0 commit comments

Comments
 (0)