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

Fix false positive tests in CI for Windows #598

Merged
merged 2 commits into from
Feb 11, 2022

Conversation

UebelAndre
Copy link
Contributor

@UebelAndre UebelAndre commented Jan 7, 2022

PR Checklist

Please check if your PR fulfills the following requirements:

  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)

PR Type

What kind of change does this PR introduce?

  • Bugfix
  • Feature (please, look at the "Scope of the project" section in the README.md file)
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Documentation content changes
  • Other... Please describe:

What is the current behavior?

Currently the integration test runner does not report errors for windows.

Issue Number: N/A

What is the new behavior?

The test runner has been fixed and the examples/tests updated to be compatible with windows.

Does this PR introduce a breaking change?

  • Yes
  • No

Other information

This PR includes the following which are both required to get passing windows builds.

@UebelAndre UebelAndre force-pushed the windows branch 3 times, most recently from f68ee39 to aa56544 Compare January 7, 2022 04:52
@UebelAndre UebelAndre marked this pull request as ready for review January 7, 2022 04:56
Copy link
Contributor Author

@UebelAndre UebelAndre left a comment

Choose a reason for hiding this comment

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

@jheaff1 would you mind taking a look to see if I missed anything? And maybe help me address some TODOs? 😅 🙏

examples/pip_install/BUILD Outdated Show resolved Hide resolved
examples/pip_install/pip_install_test.py Outdated Show resolved Hide resolved
examples/pip_parse/pip_parse_test.py Outdated Show resolved Hide resolved
version.bzl Outdated Show resolved Hide resolved
@UebelAndre UebelAndre changed the title Reorganied tests to fix testing on windows Reorganized tests to fix testing on windows Jan 7, 2022
@jheaff1
Copy link
Contributor

jheaff1 commented Jan 15, 2022

I’m suprised the diff_tests works in CI, as diff_test is broken when using —-enable_runfiles until skylib v1.1.1

bazelbuild/bazel-skylib@43a545a

@UebelAndre
Copy link
Contributor Author

@jheaff1 Thanks so much for your help!

@jheaff1
Copy link
Contributor

jheaff1 commented Jan 16, 2022

@jheaff1 Thanks so much for your help!

My pleasure, although you did 99% of the work, so thank you! 😂

@UebelAndre UebelAndre changed the title Reorganized tests to fix testing on windows Fix false positive tests in CI for Windows Feb 10, 2022
@UebelAndre
Copy link
Contributor Author

As all other changes have been merged, this PR is just left with #597

@f0rmiga f0rmiga merged commit d80a9aa into bazelbuild:main Feb 11, 2022
@UebelAndre UebelAndre deleted the windows branch February 11, 2022 01:31
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