-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
build(ci): Use codecov GH action instead of bash script #32959
Conversation
This uses a GH Action instead of bash script. The bash script has been deprecated. See https://github.com/codecov/codecov-action
.github/actions/artifacts/action.yml
Outdated
fi | ||
uses: codecov/codecov-action@v2 | ||
env: | ||
NODE_OPTIONS: "" |
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.
Why empty?
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.
Oops, added a comment
@@ -161,7 +161,7 @@ test-plugins: | |||
|
|||
test-relay-integration: | |||
@echo "--> Running Relay integration tests" | |||
pytest tests/relay_integration -vv | |||
pytest tests/relay_integration -vv --cov . --cov-report="xml:.artifacts/relay.coverage.xml" --junit-xml=".artifacts/relay.junit.xml" |
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.
Can I assume this is intentional?
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.
Yeah I initially refactored these paths and noticed relay wasn't outputting coverage stats.
This uses a GH Action instead of bash script. The bash script has been deprecated. See https://github.com/codecov/codecov-action
This does NOT fix the spiky reporting of coverage (which I believe is due to flakey tests, eg, 3 of 4 test instances fail, but we still report 3 of them to codecov.
Note, due to a bug in codecov, we have to unset
NODE_OPTIONS