CRPropa / CRPropa3

CRPropa is a public astrophysical simulation framework for propagating extraterrestrial ultra-high energy particles. https://crpropa.github.io/CRPropa3/
https://crpropa.desy.de
GNU General Public License v3.0
65 stars 66 forks source link

Update testing environments #408

Closed lukasmerten closed 1 year ago

lukasmerten commented 1 year ago

This PR updates the automated tests to more recent ubuntu versions. Ubuntu-22 is now included in the test matrix. The Ubuntu-18 test will only work until 2023-04-01. However, I kept it in the test until then as some people are still using ubuntu-18.

I was not able to update to macos-12. So I removed it again from the mac test matrix. Maybe @rafaelab can at some point help with updating the test.

Also some of the github actions are updated.

Tests should now also be triggered for a PR and not only for a push. --> We get the test results before merging into master.

rafaelab commented 1 year ago

Thanks, @lukasmerten. I have no comments about this. From my side, this is basically ready (although it is failing for Ubuntu 22). Regarding the OSX tests, for many years the tests have failed for some reason (although the code runs correctly) and I have been able to solve the problem. Right now I can narrow one of the problems down to EMPairProduction and the magnetic lenses.