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

Add github on-commit tests on MacOS and Windows #14054

Merged
merged 5 commits into from
Dec 10, 2024

Conversation

dweiss
Copy link
Contributor

@dweiss dweiss commented Dec 10, 2024

There are some low-level APIs used now that may be surprising and behave differently on different platforms. I suggest we enable MacOS and Windows builds to have a broader coverage and earlier feedback.

Windows builds are significantly slower compared to unix-ish platforms. I don't think there is a way around it (unless somebody works at github and could arrange a higher-cpu runner ;). But since those builds are shifted to the background and don't interfere with normal dev workflow, I don't think it's such a big issue.

This said, it'd be nice to have the tests run great again...

@dweiss dweiss added this to the 10.1.0 milestone Dec 10, 2024
@dweiss
Copy link
Contributor Author

dweiss commented Dec 10, 2024

The failing check on Windows is due to #14053 - shows it's working. ;)

Copy link
Member

@rmuir rmuir left a comment

Choose a reason for hiding this comment

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

we need this, looks good to me, after isLoaded fixed is merged.

@dweiss dweiss self-assigned this Dec 10, 2024
@dweiss dweiss merged commit b9385a8 into apache:main Dec 10, 2024
5 checks passed
@dweiss dweiss deleted the gh-windows-builds branch December 10, 2024 19:19
@msokolov
Copy link
Contributor

I thought we did have macos tests already? Maybe that is not tests, but some other task?

@dweiss
Copy link
Contributor Author

dweiss commented Dec 12, 2024

I think distribution tests (run-checks-mod-distribution.tests.yml) run on MacOSX. Also, Uwe has his own jenkins box, which runs Windows and Mac tests (on a virtual machine). These github workers are running on real hardware though and I think it's worth keeping them. Even if they are somehow "virtualized" or sandboxed, it'll be an earlier warning sign for pull requests that something is wrong.

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.

3 participants