Skip to content

Commit e46938e

Browse files
authored
Codecov (#218)
1 parent d84bb5b commit e46938e

File tree

3 files changed

+6
-450
lines changed

3 files changed

+6
-450
lines changed

azure-pipelines.yml

+5
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,11 @@ steps:
4747
%USERPROFILE%\.dotnet\tools\dotnet-sonarscanner end /d:sonar.login="$(SONAR_TOKEN)"
4848
displayName: End SonarScanner
4949

50+
# Upload coverage to codecov.io
51+
- script: |
52+
%USERPROFILE%\.nuget\packages\codecov\1.1.0\tools\codecov.exe -f "./test/System.Linq.Dynamic.Core.Tests/coverage.opencover.xml" -t $(CODECOV_TOKEN)
53+
displayName: Upload coverage to codecov.io
54+
5055
- task: PublishTestResults@2
5156
inputs:
5257
testRunner: VSTest

test/System.Linq.Dynamic.Core.Tests/System.Linq.Dynamic.Core.Tests.csproj

+1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
</ItemGroup>
1616

1717
<ItemGroup>
18+
<PackageReference Include="Codecov" Version="1.1.0" />
1819
<PackageReference Include="coverlet.msbuild" Version="2.3.1">
1920
<PrivateAssets>all</PrivateAssets>
2021
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>

0 commit comments

Comments
 (0)