-
Notifications
You must be signed in to change notification settings - Fork 440
Run CodeGeneration tests in CI #2171
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
Conversation
@swift-ci Please test |
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.
Thank you for getting them back — I just recently thought about whether I should add tests for code generation when I work on them, and how they are triggered on CI — TIL.
@@ -24,9 +24,8 @@ struct Test: ParsableCommand, BuildCommand { | |||
var arguments: BuildArguments | |||
|
|||
func run() throws { | |||
try buildExample(exampleName: "ExamplePlugin") |
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.
Curious, and unrelated to the PR: why remove the buildExample
step? Do we build in another command now? (Just learning about the scripts, and will read more — very likely that I'll stumble at the answer on my own in 5 minutes)
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.
Oh, we needed to build the example for the lit test, which I removed in #2160. I just forgot to remove buildExample
in that PR.
"SWIFTPARSER_ENABLE_ALTERNATE_TOKEN_INTROSPECTION": "1", | ||
] | ||
|
||
try invokeSwiftPM( |
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.
This is neat!
9bfe8f0
to
e208fe5
Compare
@swift-ci Please test |
e208fe5
to
0f66693
Compare
@swift-ci Please test |
@swift-ci Please test Windows |
@swift-ci Please test |
With the migration of build-script.py to Swift, we accidentally dropped running the CodeGeneration tests. Re-enable them.
0f66693
to
9dfc532
Compare
@swift-ci Please test |
@swift-ci Please test Windows |
@swift-ci Please test Windows |
With the migration of build-script.py to Swift, we accidentally dropped running the CodeGeneration tests. Re-enable them.