-
Notifications
You must be signed in to change notification settings - Fork 42
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 earliest supported Julia version and prereleases #178
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #178 +/- ##
==========================================
+ Coverage 96.63% 96.65% +0.01%
==========================================
Files 2 2
Lines 446 448 +2
==========================================
+ Hits 431 433 +2
Misses 15 15 ☔ View full report in Codecov by Sentry. |
runs-on: ${{ matrix.os }} | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
version: | ||
- '1' # automatically expands to the latest stable 1.x release of Julia | ||
- 'lts' | ||
- 'min' # earliest supported version of Julia |
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.
I'm wondering if min
is necessary given that this is a stdlib
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.
Hmm maybe not. I added it since Statistics specifies a julia = "1.9.4"
compat.
If you don't mention arch, does it just pick aarch64 for mac and x64 for all the others? Just should make sure that we are not doing x64 in emulation on macOS-latest, and we are indeed running natively. Otherwise, I don't have a strong preference. We can always add |
Yes, by default the setup-julia action uses the Julia binaries for the architecture of the runner, ie aarch64 on macOS-latest. This can be seen in e.g. https://github.com/JuliaStats/Statistics.jl/actions/runs/11428315624/job/31793421540?pr=178#step:3:8 |
Hmm, I might have hit merge a bit early. |
#167 removed tests on nightly and added the
include-prereleases
option. However, I think it would be better to testpre
instead of setting this option: Otherwise, once a pre-release of Julia v1 is available, tests with1
will only test the pre-release but the latest stable build will not be tested anymore.Additionally, I think it would be good to test
min
, the earliest supported Julia version, as well to avoid accidentally breaking support for old Julia versions.