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

Improve CI jobs split #1210

Merged
merged 10 commits into from
Oct 18, 2022
Merged

Conversation

alvinhochun
Copy link
Contributor

This basically rewrites the CI jobs based on the original build_test_all.cmd but split the steps into different jobs so any failures will be easier to pinpoint. This also allows the tests to be built and run in parallel, which can save about 5 minutes of full run time.

One thing to note is that the nuget test build seems to be failing even on the initial GHA workflow. This failure was hidden before because build_test_all.cmd did not detect the build error. Now that it is exposed, I have added a hack to purposely ignore the failure (instead only emit a warning) because I don't know how to fix it properly.

@@ -44,94 +44,96 @@ namespace
}
}

TEST_CASE("disconnected,handler")
TEST_CASE("disconnected,handler,1")
Copy link
Collaborator

Choose a reason for hiding this comment

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

What's the ,1 for?


{
auto async = Action();
TEST_CASE("disconnected,handler,2")
Copy link
Collaborator

Choose a reason for hiding this comment

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

Oh, you flattened these tests...

@kennykerr
Copy link
Collaborator

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Copy link
Collaborator

@kennykerr kennykerr left a comment

Choose a reason for hiding this comment

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

Much nicer output - thanks!!

@kennykerr kennykerr merged commit d3aa5db into microsoft:master Oct 18, 2022
@alvinhochun alvinhochun deleted the alvin/test-improvement branch December 11, 2022 16:46
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