-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
ci: move coverage reporting to shared script #5403
Conversation
Codecov Report
@@ Coverage Diff @@
## master #5403 +/- ##
=======================================
Coverage 95.98% 95.98%
=======================================
Files 114 114
Lines 25523 25523
Branches 2480 2480
=======================================
Hits 24499 24499
Misses 718 718
Partials 306 306 Continue to review full report at Codecov.
|
72752fe
to
7891d69
Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
So this is not required anymore strictly speaking (according to #5396), but I think it is good to have it in line with Travis. Maybe we could move the common script part to an external file to keep them in sync? |
Agreed, please do. 😁 |
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.
Please change the common code to a separate script as we discussed. 👍
- script: | | ||
call scripts/setup-coverage-vars.bat || goto :eof | ||
- bash: | | ||
if [[ "$PYTEST_COVERAGE" == "1" ]]; then |
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.
This should be calling scripts/report-coverage.sh
no?
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.
No, that's the env setup.
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.
This could be merged into tox.ini, and then we would end up using TOXENV=…-coverage basically.
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.
Oh duh sorry
- script: | | ||
call scripts/setup-coverage-vars.bat || goto :eof | ||
- bash: | | ||
if [[ "$PYTEST_COVERAGE" == "1" ]]; then |
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.
Oh duh sorry
No description provided.