Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 9 additions & 6 deletions .github/workflows/python-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,12 +67,15 @@ jobs:
- name: Build
run: pnpm turbo run --filter "@azure-tools/typespec-python..." build

- name: Use pinned http-specs versions
run: |
rm -rf core/packages/http-specs/dist
cp -r core/packages/http-client-python/node_modules/@typespec/http-specs/dist core/packages/http-specs/dist
rm -rf packages/azure-http-specs/dist
cp -r core/packages/http-client-python/node_modules/@azure-tools/azure-http-specs/dist packages/azure-http-specs/dist
- name: Build http-specs and azure-http-specs from source
# Build the mock servers from the checked-out typespec-azure (+ PR core)
# source, so the mock stays in lockstep with the client that is
# regenerated from the same source below. Previously these build outputs
# were overwritten with the versions resolved via http-client-python's
# package.json pin, which caused client/mock spec skew whenever
# typespec-azure main advanced a spec beyond the pinned bundle and failed
# otherwise-green PRs. See microsoft/typespec#11348.
run: pnpm turbo run build --filter "@typespec/http-specs..." --filter "@azure-tools/azure-http-specs..."

- name: Prepare Python environment
run: pnpm run prepare
Expand Down
Loading