-
Notifications
You must be signed in to change notification settings - Fork 8.2k
ci(cross-platform): add LFX wheel artifact handling and tests #9703
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -298,11 +298,12 @@ jobs: | |||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||
| test-cross-platform: | ||||||||||||||||||||||||||||||
| name: Test Cross-Platform Installation | ||||||||||||||||||||||||||||||
| needs: [build-nightly-base, build-nightly-main] | ||||||||||||||||||||||||||||||
| needs: [build-nightly-lfx, build-nightly-base, build-nightly-main] | ||||||||||||||||||||||||||||||
| uses: ./.github/workflows/cross-platform-test.yml | ||||||||||||||||||||||||||||||
| with: | ||||||||||||||||||||||||||||||
| base-artifact-name: "dist-nightly-base" | ||||||||||||||||||||||||||||||
| main-artifact-name: "dist-nightly-main" | ||||||||||||||||||||||||||||||
| lfx-artifact-name: "dist-nightly-lfx" | ||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||
|
Comment on lines
+301
to
307
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Blocking dependency: test-cross-platform will be skipped when build-nightly-lfx is not requested. Because needs includes build-nightly-lfx, the test job gets skipped when LFX is disabled, unintentionally blocking base/main tests. Fix by removing the LFX job from needs and passing the LFX artifact name conditionally: test-cross-platform:
name: Test Cross-Platform Installation
- needs: [build-nightly-lfx, build-nightly-base, build-nightly-main]
+ needs: [build-nightly-base, build-nightly-main]
uses: ./.github/workflows/cross-platform-test.yml
with:
base-artifact-name: "dist-nightly-base"
main-artifact-name: "dist-nightly-main"
- lfx-artifact-name: "dist-nightly-lfx"
+ lfx-artifact-name: ${{ inputs.build_lfx == true && 'dist-nightly-lfx' || '' }}📝 Committable suggestion
Suggested change
🤖 Prompt for AI Agents |
||||||||||||||||||||||||||||||
| publish-nightly-lfx: | ||||||||||||||||||||||||||||||
| name: Publish LFX Nightly to PyPI | ||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Blocking dependency: test-cross-platform is tied to build-lfx even when LFX isn’t being released.
When release_lfx is false, build-lfx is skipped, which can skip test-cross-platform and block base/main release flow.
Remove build-lfx from needs; you already pass the LFX artifact name conditionally:
test-cross-platform: name: Test Cross-Platform Installation if: inputs.release_package_base == true || inputs.release_package_main == true - needs: [build-base, build-main, build-lfx] + needs: [build-base, build-main] uses: ./.github/workflows/cross-platform-test.yml with: base-artifact-name: "dist-base" main-artifact-name: "dist-main" lfx-artifact-name: ${{ inputs.release_lfx == true && 'dist-lfx' || '' }}📝 Committable suggestion
🤖 Prompt for AI Agents