-
Notifications
You must be signed in to change notification settings - Fork 264
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
Coverage runner: cannot locate file #1128
Comments
Additionally, when trying to run the Swift target directly (with the same settings above):
|
Worth noting, as well, that the |
You can read a bit more about this problem here #691 For our use case we don't really care about this merging as much so we pass |
@keith wouldn't that trample the LCOV merger for other coverage targets? we are also testing java, JS, etc, in the same run nevertheless i'll give it a try; perhaps we can produce reports from each language target and merge ourselves. |
Ah yea if you ran that all in 1 invocation it would, alternatively I believe you can set that on the test runner itself if you specify a custom one like: ios_test_runner(
name = "custom_runner",
test_environment = {"LCOV_MERGER": "/usr/bin/true"},
) and then provided this to the |
The coverage merger attribute has been merged here #1388 you can test with HEAD rules, but we should be good here, please reopen if you find more issues! |
Hey there esteemed
rules_apple
authors,When we are trying to get unit tests going with coverage using
rules_apple
andrules_swift
, we're running into the following error:Are we doing something wrong? Here are the relevant Bazel targets:
SchemaModule
is aswift_proto_library
, andAPIModule
is aswift_grpc_library
. Bazel is invoked with:bazel.rc
:The text was updated successfully, but these errors were encountered: