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 min, lts and 1 in CI #478

Merged
merged 2 commits into from
Oct 28, 2024
Merged

Test min, lts and 1 in CI #478

merged 2 commits into from
Oct 28, 2024

Conversation

devmotion
Copy link
Member

@devmotion devmotion commented Oct 17, 2024

#477 changed the CI setup but IMO it's a bit dangerous to stop testing the oldest Julia version that is declared to be supported. It's just too easy to accidentally break compatibility by making use of newer Julia features.

I also increased the MacOS test coverage by testing 1.3 (min) on the Intel Macs but newer versions such as 1.10 (lts) and 1.11 (1) on the Apple Silicon runners (option 2 in https://discourse.julialang.org/t/how-to-fix-github-actions-ci-failures-with-julia-1-6-or-1-7-on-macos-latest-and-macos-14/117019).

Copy link

codecov bot commented Oct 17, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 94.10%. Comparing base (92be507) to head (f1acc19).
Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #478      +/-   ##
==========================================
+ Coverage   92.11%   94.10%   +1.99%     
==========================================
  Files          14       14              
  Lines        2903     2935      +32     
==========================================
+ Hits         2674     2762      +88     
+ Misses        229      173      -56     
Flag Coverage Δ
unittests 94.10% <ø> (+1.99%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

version: 1

- os: macOS-13 # Intel
version: 'min'
Copy link
Member

@ararslan ararslan Oct 17, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
version: 'min'
version: 'min'
- os: ubuntu-latest
version: 'nightly'

Might as well keep one nightly test, IMO

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was removed in #477 but I'm fine with keeping a test for unreleased Julia versions. Maybe

Suggested change
version: 'min'
version: 'min'
- os: ubuntu-latest
version: 'pre'

would give a bit more stable and possibly more relevant test results?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll leave this for a follow-up PR in case we want to test pre or nightly again.

@ViralBShah
Copy link
Member

I'm fine with it. Please merge.

@devmotion devmotion merged commit 7f42b47 into master Oct 28, 2024
12 checks passed
@devmotion devmotion deleted the dw/ci branch October 28, 2024 08:42
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.

3 participants