-
Notifications
You must be signed in to change notification settings - Fork 58
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
Add windows platform in CI workflow #330
Conversation
Signed-off-by: Jackie Han <[email protected]>
Signed-off-by: Jackie Han <[email protected]>
Signed-off-by: Jackie Han <[email protected]>
Signed-off-by: Jackie Han <[email protected]>
Signed-off-by: Jackie Han <[email protected]>
Signed-off-by: Jackie Han <[email protected]>
Signed-off-by: Jackie Han <[email protected]>
Codecov Report
@@ Coverage Diff @@
## main #330 +/- ##
=======================================
Coverage 52.04% 52.04%
=======================================
Files 147 147
Lines 5015 5015
Branches 965 965
=======================================
Hits 2610 2610
Misses 2148 2148
Partials 257 257
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
anomalies. The shorter the interval is, the more real time the | ||
detector results will be, and the more computing resources the | ||
detector will need." | ||
hint={[ |
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.
Why is this in an array now?
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.
otherwise new line will be recognized as actual new line in windows, but not in Ubuntu and macos. Sending you a screenshot offline.
Sorry, cannot find the screenshot anymore. But you can find the snapshot diff in this commit - faef809
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.
So not sure, but why is this needed in an array and none of the others? I don't see any explicit newline in the text.
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.
the original text is in three lines, 41, 42, 43. The actual Return key will somehow create an actual new line in windows. This is not the only place that long text uses an array to contain the hint text. Not sure why this long text wan't using an array when it was firstly added.
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.
I see - I wonder why this only fails for 3 lines vs 2 lines. I see a bunch of places where 2 lines doesn't need an array...
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.
Could you point me to where 2 lines doesn't need an array? I believe 2 lines will fail with the exact same reason as well, and I have addressed them all in this PR
I see this is for unit tests, what about for the integration tests? |
the flaky integ tests has been failing since Sep 7, it's a separate issue than adding windows workflow. Let's get this adding windows workflow checked in first. |
I understand the flaky part, but from my understanding it's still a requirement for the 2.4 campaign. I'm ok to treat the flaky test issue separately, but I think we should have the infrastructure set up to run with windows and get all of the non-flaky tests to pass. |
Sure, this PR is just for adding windows CI. |
The full windows CI is the integration tests though. Can that be added in this PR so we can close out the 2.4 issue? |
Checked map team package and dashboard team package. They all only added windows CI for unit tests. Plus, we don't even have integration tests for macOS. I think we are fine here just adding windows CI for unit tests. Let me know if you still have concerns. |
* Add windows platform in CI workflow Signed-off-by: Jackie Han <[email protected]> * Adjust text content for buidling on Windows Signed-off-by: Jackie Han <[email protected]> * Update long text message format in FormattedFormRow Signed-off-by: Jackie Han <[email protected]> * Update long text message format in FormattedFormRow Signed-off-by: Jackie Han <[email protected]> * Update long text message format in FormattedFormRow Signed-off-by: Jackie Han <[email protected]> * Update long text message format in FormattedFormRow Signed-off-by: Jackie Han <[email protected]> * Update long text message format in FormattedFormRow Signed-off-by: Jackie Han <[email protected]> * Update long text message format in FormattedFormRow Signed-off-by: Jackie Han <[email protected]> Signed-off-by: Jackie Han <[email protected]> (cherry picked from commit d8af147)
* Add windows platform in CI workflow Signed-off-by: Jackie Han <[email protected]> * Adjust text content for buidling on Windows Signed-off-by: Jackie Han <[email protected]> * Update long text message format in FormattedFormRow Signed-off-by: Jackie Han <[email protected]> * Update long text message format in FormattedFormRow Signed-off-by: Jackie Han <[email protected]> * Update long text message format in FormattedFormRow Signed-off-by: Jackie Han <[email protected]> * Update long text message format in FormattedFormRow Signed-off-by: Jackie Han <[email protected]> * Update long text message format in FormattedFormRow Signed-off-by: Jackie Han <[email protected]> * Update long text message format in FormattedFormRow Signed-off-by: Jackie Han <[email protected]> Signed-off-by: Jackie Han <[email protected]> (cherry picked from commit d8af147)
* Add windows platform in CI workflow Signed-off-by: Jackie Han <[email protected]> * Adjust text content for buidling on Windows Signed-off-by: Jackie Han <[email protected]> * Update long text message format in FormattedFormRow Signed-off-by: Jackie Han <[email protected]> * Update long text message format in FormattedFormRow Signed-off-by: Jackie Han <[email protected]> * Update long text message format in FormattedFormRow Signed-off-by: Jackie Han <[email protected]> * Update long text message format in FormattedFormRow Signed-off-by: Jackie Han <[email protected]> * Update long text message format in FormattedFormRow Signed-off-by: Jackie Han <[email protected]> * Update long text message format in FormattedFormRow Signed-off-by: Jackie Han <[email protected]> Signed-off-by: Jackie Han <[email protected]> (cherry picked from commit d8af147) Co-authored-by: Jackie Han <[email protected]>
* Add windows platform in CI workflow Signed-off-by: Jackie Han <[email protected]> * Adjust text content for buidling on Windows Signed-off-by: Jackie Han <[email protected]> * Update long text message format in FormattedFormRow Signed-off-by: Jackie Han <[email protected]> * Update long text message format in FormattedFormRow Signed-off-by: Jackie Han <[email protected]> * Update long text message format in FormattedFormRow Signed-off-by: Jackie Han <[email protected]> * Update long text message format in FormattedFormRow Signed-off-by: Jackie Han <[email protected]> * Update long text message format in FormattedFormRow Signed-off-by: Jackie Han <[email protected]> * Update long text message format in FormattedFormRow Signed-off-by: Jackie Han <[email protected]> Signed-off-by: Jackie Han <[email protected]> (cherry picked from commit d8af147) Co-authored-by: Jackie Han <[email protected]>
The backport to
To backport manually, run these commands in your terminal: # Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add .worktrees/backport-1.3 1.3
# Navigate to the new working tree
cd .worktrees/backport-1.3
# Create a new branch
git switch --create backport/backport-330-to-1.3
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 d8af1473501e1beb8d3fdef72dc814cb2040f5f6
# Push it to GitHub
git push --set-upstream origin backport/backport-330-to-1.3
# Go back to the original working tree
cd ../..
# Delete the working tree
git worktree remove .worktrees/backport-1.3 Then, create a pull request where the |
Will have a manual backport for this for 1.3 in #361 |
Signed-off-by: Jackie Han [email protected]
Description
Add windows platform in CI workflow
Issues Resolved
#104
Check List
--signoff
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.