-
-
Notifications
You must be signed in to change notification settings - Fork 341
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
Run Python unit tests as a part of CI #519
Conversation
forbid_write_write_conflict test fails in CI, passes locally
|
It fails locally for me on Ubuntu as well when running all tests, but passes when running this test alone. Edit: To be more precise, it randomly passes or fails when run in isolation. |
1a7940d
to
b982e5e
Compare
Thank you @krassowski. Marked the test to be skipped, added TODO comment to make the test work. |
b982e5e
to
9cabe69
Compare
for more information, see https://pre-commit.ci
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.
Great work! Just one minor comment below.
Thanks @dlqqq and @krassowski for looking into this. |
@meeseeksdev please backport to 1.x |
Co-authored-by: Andrii Ieroshenko <[email protected]>
* Add ci step to run unit tests * Skip test_forbid_write_write_conflict as flakey * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Comments per @dlqqq --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* Add ci step to run unit tests * Skip test_forbid_write_write_conflict as flakey * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Comments per @dlqqq --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Problem
Unit tests are not ran as a part of CI.
Solution
This PR adds a "Unit Tests / Linux" CI step. Fixes #370.
forbid_write_write_conflict test fails in CI and is flakey on linux so this PR marks the test to be skipped, adds a TODO comment to make the test work.