-
Notifications
You must be signed in to change notification settings - Fork 3
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
Test workflow + custom metric docs #28
Conversation
Seems that the GeometricalPredicates.jl package is failing to build, which is needed for the Voronoi tesselation libraries... |
I can't workout what is causing this. The version of GeometricalPredicates installed on the CI machine is v0.4.1, and then it complains about:
But that method is defined? It's in the v0.4.1 tagged source code anyway... I've tried pinning the compat version of VoronoiCells, but it installed the right version during that run, so I have no idea if this will make any difference. |
I noticed I had the arch set as x86 in the matrix of test machines for the CI. I have instead adjusted it to pick the architecture by itself, but added the macOS-latest machine to broaden the scope. Hopefully this will resolve any strange version-resolution issues. |
Seems to be working after letting the matrix pick Julia architecture x64, instead of x86. This is precisely because only Int64 is supported. I know GeometricalPredicates makes use of some IEEE standards for interoperating between floats and ints, so I imagine there's a reason for that. Anyway, hopefully the tests now pass okay. |
Setting |
Codecov Report
@@ Coverage Diff @@
## main #28 +/- ##
==========================================
- Coverage 70.26% 64.97% -5.29%
==========================================
Files 34 40 +6
Lines 612 905 +293
==========================================
+ Hits 430 588 +158
- Misses 182 317 +135
Continue to review full report at Codecov.
|
That's wild -- despite having defined the expectations values on a mac running the latest OS, the CI calculates completely different values??
|
Going to disable macOS for now, just to keep things moving, but will open an issue related to this. |
* custom metric documentation * re-enable test workflow * some referencing fixes * compat version for VoronoiCells * print manifest to terminal * add GeometricalPredicates to Project * cat the manifest in the right place * pin an older version of GeometricalPredicates * change matrix of machines * remove compat * tweak tolerances * debug show and lower tolerances again * actually print the right thing this time * no fast math during tests and check bounds * julia formatting * test environment flags * fix yaml syntax * don't test on macOS
Going to debug the test workflow in this PR and also committing some of the custom metric documentation.