Skip to content

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
@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