-
Notifications
You must be signed in to change notification settings - Fork 57
Adding GitHub Actions for additional tests #220
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
@lgarrison I added the tests with GitHub actions. However, I could not get clang working on linux, or gcc working on osx - so I had to disable those tests. Plus, I fixed some warnings that were being raised about uninitialised values and a minor cpython bug that was resulting in an improper function pointer cast. Please let me know if you are okay with merging these in, or if you have ideas on how to fix the clang-on-linux/gcc-on-osx builds. (We can go up to 256 jobs in the matrix) |
Cool, thanks! Do you think we need both Ubuntu versions? Just trying to think of ways to reduce the number of tests, I think too many can be cluttered and harder to maintain. I think having an old and new Numpy version makes sense, but do you think we should test 1.18 (the latest) instead of 1.16? Should we add a Python 3.8 test? Or maybe we should deprecate Python 2.7 support first. We're 6 months past end-of-life! |
The plan for dropping py2.7 was towards the end of 2020, if I recall correctly. What I would like to do is add in a DeprecationWarning, and then remove support in a later v2.x release. We can reduce the number of combinations that are tested, but I think we should test of a few different platforms. For instance, perhaps we should add in 16.04 but only test with gcc-7, py3.5, and numpy1.14. but then reduce the number of tests with 18.04 (may be remove a later gcc-version) and 20.04 (may be remove an earlier gcc-version). I had py3.8 in the matrix too but had to drop it for (forget-what) some reason. Should I put py3.8 back in but only test in one config - say for a test config with ubuntu20.04, gcc-9, py3.8, numpy1.18? That would cover the latest gcc, python and numpy |
Thanks, I think that sounds like a reasonable way to go with the Ubuntu versions and Python 3.8. |
Noting examples of GitHub Actions yml files that we might need to consult in the future - |
The tests take too long
Add comments for the logic of what is included in the matrix. Run the `binutils` upgrade for the two older linux distros. Run `doctests` for all compilers on ubuntu 18.04 (removed the singular compiler constraint)
Complexity increasing per file
==============================
- setup.py 1
See the complete overview on Codacy |
@lgarrison Will you please take a look again? I am done with the updates... I tried to add in a separate CI for |
Looks good! So does this supersede Travis, or is the plan to use both? |
We should just use both - no harm in extra checks |
No description provided.