Closed vkostyukov closed 2 years ago
Hi,
I noticed you're hitting similar trouble with sbt-scoverage
as I have recently. Maybe it would be helpful to run coverage only for the main Scala version (i.e. 2.13.6 currently) instead of all versions.
The code and tests are the same either way, so imo it would be sufficient to only do it for the main version and it might make the sbt-scoverage
version stuff easier.
You can take a look at #308 as an example where I've excluded coverage for Scala 3 and it seems to work nicely.
Cheers ~ Felix
edit: There is also a coverageEnabled
setting in sbt, which might be helpful but I didn't have too much luck with it, so I added conditionals in the CI-build instead.
Looks like it worked.
Codecov Report
93.09% <0.00%> (ø)
79.45% <0.00%> (ø)
100.00% <0.00%> (ø)
68.42% <0.00%> (ø)
85.39% <0.00%> (+0.56%)
70.88% <0.00%> (+70.88%)
Continue to review full report at Codecov.