0 byte coverage.info
See original GitHub issueI’m trying to upload the coverage report to coveralls.io using GitHub Actions.
I’m using the coverallsapp/github-action action which supports the lcov
report format.
I’m executing the folowing:
dotnet test ./NetFabric.Hyperlinq.UnitTests/NetFabric.Hyperlinq.UnitTests.csproj -f:netcoreapp3.0 -p:CollectCoverage=true -p:CoverletOutputFormat=lcov -p:CoverletOutput=TestResults/ /p:ExcludeByAttribute="GeneratedCodeAttribute" /p:ExcludeByFile="../NetFabric.Hyperlinq.Interfaces/*.cs"
The unit tests project NetFabric.Hyperlinq.UnitTests
uses xUnit
to test the project NetFabric.Hyperlinq
which references project NetFabric.Hyperlinq.Interfaces
.
When I execute the command (in the terminal), the referenced project is included and the report has 0 bytes. Executing again the exact same command, the referenced project is not included and the report has 1MB. Executing again, I get the 0 bytes report…
The project can be found at https://github.com/NetFabric/NetFabric.Hyperlinq/pull/99
Issue Analytics
- State:
- Created 4 years ago
- Comments:7
Top GitHub Comments
For collector is the same filter story!
@MarcoRossignoli Thank you so much for going into all this trouble.
There’s no urgency. Today I won’t have time to test all your suggestions.
I’d love to try the collectors. It makes it so much simpler.