-
Notifications
You must be signed in to change notification settings - Fork 41
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 GitHub Actions #587
Conversation
Codecov Report
@@ Coverage Diff @@
## master #587 +/- ##
=======================================
Coverage 99.48% 99.48%
=======================================
Files 84 86 +2
Lines 5615 5645 +30
=======================================
+ Hits 5586 5616 +30
Misses 29 29
Continue to review full report at Codecov.
|
aa7f909
to
0847e25
Compare
This reverts commit 0847e25.
Kudos, SonarCloud Quality Gate passed! |
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.
LGTM!
Kudos, SonarCloud Quality Gate passed! |
Upgrades GH Actions to latest versions, and pins the codecov and pypi-publish Actions commit hashes.
Upgrading codecov Action (from v1 to v3) necessitates generating the coverage report in xml format (apparently this applies to both v2 and v3).
Also makes the coverage report upload conditional: it is uploaded only by Python 3.8 test run. Until now, the report was uploaded three times (by Python 3.7, 3.8 and 3.9 runs). That may be the reason for weird coverage changes I have noticed (the coverage is different for different Python versions, and it is somewhat random which run finishes last, and I think the report by the last run overrides earlier ones).Now I chose to upload the report by Python 3.8 run. This evens out the the running times (very slightly). This means the test coverage of NN ensemble, Omikuji and Yake backends is not tracked, while of fastText and spaCy code it is.Edit: Actually codecov merges the reports that are uploaded by different runs, so it is desired to upload all of them as previously.