Skip to content
This repository has been archived by the owner on Oct 13, 2023. It is now read-only.

crate with same name as repository ignored #73

Closed
vitorenesduarte opened this issue May 28, 2020 · 2 comments
Closed

crate with same name as repository ignored #73

vitorenesduarte opened this issue May 28, 2020 · 2 comments
Labels
bug Something isn't working

Comments

@vitorenesduarte
Copy link

Description

I have a repository with a workspace containing 4 crates.

Expected behavior

The 4 crates should appear in the coverage report but 1 is ignored. The crate that is ignored is the first one, fantoch, which has the same name as the repository.

To make sure that's not a coincidence, I've created a repository named test with the same content as fantoch and now all the 4 crates appear in the coverage report.

grcov.yml

ignore-not-existing: true
output-type: lcov
output-path: ./lcov.info
ignore:
  - "/*"
  - "fantoch_ps/src/bin/*"
  - "fantoch_bote/src/main.rs"

Further considerations

I have also tried 0.2-proto in this branch (it was suggested in #51 for a different issue), but the problem still occurs.

While typing I started wondering if the issue is in coverallsapp/github-action@master and not in this action.

@vitorenesduarte vitorenesduarte added the bug Something isn't working label May 28, 2020
@vitorenesduarte
Copy link
Author

I forgot to mention that a few days ago I was running CI in Travis, using both grcov and coveralls (exactly like this), and all the 4 crates were present in the coverage report.

@vitorenesduarte
Copy link
Author

The issue was in grcov itself (mozilla/grcov#483), not in this action.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Development

No branches or pull requests

1 participant