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

Update from macos-11 to macos-13 on github actions #13

Merged
merged 2 commits into from
Jun 5, 2024

Conversation

GenevieveBuckley
Copy link
Contributor

@GenevieveBuckley GenevieveBuckley commented May 31, 2024

Github Actions macos-11 runner will be deprecated soon, upgrade to macos-13 in tox.ini.

Related to zulip discussion: https://napari.zulipchat.com/#narrow/stream/212875-general/topic/macos-11.20runners.20deprecation

@GenevieveBuckley
Copy link
Contributor Author

Something is wrong with uploading to codecov, see the failing CI logs. I don't have the right permissions to this repo or on codecov to investigate the failure.

@JoOkuma
Copy link
Collaborator

JoOkuma commented May 31, 2024

I don't have it either, can you check this @jni ?

@jni
Copy link
Member

jni commented Jun 3, 2024

I actually don't know what I'm supposed to do here. We never had codecov keys in this repo, it seems.

I'm inclined to just remove the codecov step and then make an issue to add this approach to the repo:

https://hynek.me/articles/ditch-codecov-python/

@Czaki
Copy link
Contributor

Czaki commented Jun 3, 2024

Problem comes from using codecov v3 instead of v4 in workflow.

jni pushed a commit that referenced this pull request Jun 4, 2024
This PR solves #13 (comment) and moves coverage upload to a separate step to make the CI logs cleaner.

It also adds support for GHA-only coverage reports using the method from
[hynek.me/articles/ditch-codecov-python](https://hynek.me/articles/ditch-codecov-python/)
@jni
Copy link
Member

jni commented Jun 4, 2024

@Czaki to the rescue! 🦸🛟 The codecov issue is fixed in #14. Rebasing this PR on main should get it functional!

@jni
Copy link
Member

jni commented Jun 5, 2024

Merged in main, let's see how this goes... 🤞

Copy link

codecov bot commented Jun 5, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 75.27%. Comparing base (71f544d) to head (956ce68).

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #13   +/-   ##
=======================================
  Coverage   75.27%   75.27%           
=======================================
  Files           6        6           
  Lines         546      546           
  Branches      121      121           
=======================================
  Hits          411      411           
  Misses         73       73           
  Partials       62       62           

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

@jni jni merged commit b1cd524 into napari:main Jun 5, 2024
21 checks passed
@jni
Copy link
Member

jni commented Jun 5, 2024

Whoop whoop! 😊

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