Skip to content
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

Test action macroExpansion allows unavailable buildable reference. #1471

Merged

Conversation

erneestoc
Copy link
Contributor

Relates to: #1468

Since the buildableReference passed to the test action macroExpansion param is literally the first buildable reference, there's a chance that buildable reference is not part of the test buildable references, so "Expand Variables Based On" defaults to None (for the test action)

Screenshot 2024-04-20 at 7 51 21 PM

A potential solution is to use the first buildable reference from testBuildTargetEntries instead if the buildableReference is not part of (testBuildTargetEntries).

Copy link
Owner

@yonaskolb yonaskolb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@erneestoc
Copy link
Contributor Author

done!

@erneestoc erneestoc requested a review from yonaskolb June 20, 2024 21:03
Copy link
Owner

@yonaskolb yonaskolb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fantastic, thank you @erneestoc!

@yonaskolb yonaskolb merged commit f884222 into yonaskolb:master Jul 3, 2024
2 checks passed
@erneestoc erneestoc deleted the erneestoc/test-macro-expansion-fix branch July 3, 2024 16:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants