Skip to content
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

Merged
merged 1 commit into from
Oct 22, 2024
Merged

Conversation

devmotion
Copy link
Member

#167 removed tests on nightly and added the include-prereleases option. However, I think it would be better to test pre instead of setting this option: Otherwise, once a pre-release of Julia v1 is available, tests with 1 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.

@codecov-commenter
Copy link

codecov-commenter commented Oct 20, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.65%. Comparing base (12a1976) to head (8086523).

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.
📢 Have feedback on the report? Share it here.

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
Copy link
Member

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

Copy link
Member Author

@devmotion devmotion Oct 21, 2024

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.

@ViralBShah
Copy link
Contributor

ViralBShah commented Oct 21, 2024

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 min and see how it works, and change things later. I suppose this package does not incur a huge CI load.

@devmotion
Copy link
Member Author

If you don't mention arch, does it just pick aarch64 for mac and x64 for all the others?

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

@ViralBShah ViralBShah merged commit d49c2bf into master Oct 22, 2024
13 checks passed
@ViralBShah ViralBShah deleted the dw/ci branch October 22, 2024 15:29
@ViralBShah
Copy link
Contributor

Hmm, I might have hit merge a bit early.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants