Skip to content

Commit 6182959

Browse files
authored
fix mac coverage collection (#317)
* explicit * yml * proj * ext
1 parent f8627c9 commit 6182959

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.github/workflows/gate.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ jobs:
7171
uses: coverallsapp/github-action@master
7272
with:
7373
github-token: ${{ secrets.GITHUB_TOKEN }}
74-
path-to-lcov: BitFaster.Caching.UnitTests/TestResults/coverage.info
74+
path-to-lcov: /Users/runner/work/BitFaster.Caching/BitFaster.Caching/BitFaster.Caching.UnitTests/coverage.info
7575
flag-name: mac
7676
parallel: true
7777
- name: Generate unit test report

BitFaster.Caching.UnitTests/BitFaster.Caching.UnitTests.csproj

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,8 @@
2424
<ProjectReference Include="..\BitFaster.Caching\BitFaster.Caching.csproj" />
2525
</ItemGroup>
2626

27+
<PropertyGroup>
28+
<CollectCoverage>true</CollectCoverage>
29+
<CoverletOutputFormat>lcov</CoverletOutputFormat>
30+
</PropertyGroup>
2731
</Project>

0 commit comments

Comments
 (0)