-
Notifications
You must be signed in to change notification settings - Fork 117
Add windows and macos CI #286
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
Conversation
b0c165d
to
aeb90be
Compare
Codecov ReportPatch and project coverage have no change.
❗ Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more. Additional details and impacted files@@ Coverage Diff @@
## develop #286 +/- ##
========================================
Coverage 85.92% 85.92%
========================================
Files 23 23
Lines 6082 6082
========================================
Hits 5226 5226
Misses 856 856
Flags with carried forward coverage won't be shown. Click here to find out more.
☔ View full report in Codecov by Sentry. |
3b2643c
to
8fc8939
Compare
@lan496 @atztogo This is weird see 14b1a6b and 8fc8939. If we have the build in |
|
Yes, this test case is very sensitive to floating-point arithmetic. |
I believe there is a way to write tests against floating point errors so that we test against multiple random values |
I do not come up with any way other than checking that the implementation does not cause a segmentation fault. |
I've found a quick fix in the meantime, marking the tests as xpass(strict=false) both on C and python side |
For the proper solution I think I've found a design, but I need help on the numbers. Basically we run the tests The help I need is with: what is the central value that should cause broken_symmetry and what are the suggested noise to apply? |
You mean to add some random values to If we run the tests with random noises, what could we guarantee from the test? At least, the |
Well the whole point of
The fact that this test fails (rather that it doesn't fail) is a genuine issue. Spglib is giving a confident answer of the symmetry group when in principle it should be undetermined. Ideally that test should always pass (i.e. it should always give an error) regardless of numerical error, but as a first step it should be confirmed that the compiler does indeed fail for some points, and that the error mechanism is not broken in that compiler. That's why I see that a gradual way of fixing this is:
|
14b1a6b
to
be8e57d
Compare
Signed-off-by: Cristian Le <cristian.le@mpsd.mpg.de>
63fa6a3
to
53f5a08
Compare
3152d9d
to
d9bb4e3
Compare
ddffc42
to
9164205
Compare
Signed-off-by: Cristian Le <cristian.le@mpsd.mpg.de>
Signed-off-by: Cristian Le <cristian.le@mpsd.mpg.de>
Signed-off-by: Cristian Le <cristian.le@mpsd.mpg.de>
Signed-off-by: Cristian Le <cristian.le@mpsd.mpg.de>
Signed-off-by: Cristian Le <cristian.le@mpsd.mpg.de>
108e77c
to
8af36f2
Compare
Signed-off-by: Cristian Le <cristian.le@mpsd.mpg.de>
The test suite does not load the library properly when running ctest. Maybe where is a nuance that I am missing. Signed-off-by: Cristian Le <cristian.le@mpsd.mpg.de>
8af36f2
to
fe822d6
Compare
Signed-off-by: Cristian Le <cristian.le@mpsd.mpg.de>
Signed-off-by: Cristian Le <cristian.le@mpsd.mpg.de>
fe822d6
to
40db9ae
Compare
There were failures with the cibuildwheel for windows. Adding a native CI to test these