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

Re-enable coverage uploads #2283

Merged
merged 3 commits into from
Jul 10, 2024
Merged

Re-enable coverage uploads #2283

merged 3 commits into from
Jul 10, 2024

Conversation

devmotion
Copy link
Member

Fixes #2282.

- uses: actions/cache@v4
- uses: julia-actions/cache@v1
- uses: julia-actions/julia-buildpkg@v1
# TODO: Use julia-actions/julia-runtest when test_args are supported
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 think it's a quite unfortunate consequence of #2237 that we have to work around the standard tooling in the Julia ecosystem.

Copy link

codecov bot commented Jul 9, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 83.15%. Comparing base (abb7981) to head (9632edb).
Report is 30 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff             @@
##           master    #2283       +/-   ##
===========================================
+ Coverage    0.00%   83.15%   +83.15%     
===========================================
  Files          22       24        +2     
  Lines        1528     1591       +63     
===========================================
+ Hits            0     1323     +1323     
+ Misses       1528      268     -1260     

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

@devmotion devmotion marked this pull request as ready for review July 9, 2024 19:53
Copy link
Member

@mhauru mhauru left a comment

Choose a reason for hiding this comment

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

I didn't know of the coveralls parallel option, that's really neat and makes this much easier than I thought it would be. Thanks @devmotion!

I had one tiny style point to made, but I'll approve already since it's fine to merge as-is.

env:
cache-name: cache-artifacts
COVERAGE: ${{ matrix.version == '1' && matrix.os == 'ubuntu-latest' && matrix.num_threads == 2 }}
Copy link
Member

Choose a reason for hiding this comment

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

I tiny detail, but ${{ matrix.version == '1' && matrix.os == 'ubuntu-latest' && matrix.num_threads == 2 }} could be stored in a variable and thus defined once, making sure the different if-clauses always use the same condition.

@devmotion devmotion merged commit 142dab3 into master Jul 10, 2024
60 checks passed
@devmotion devmotion deleted the dw/coverage branch July 10, 2024 10:19
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.

Fix code test coverage
2 participants