Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions .github/workflows/codacy-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,12 @@ jobs:
with:
TEST: true
PACK: false
ADDITIONAL_TEST_ARGS: ' --coverlet --coverlet-output-format opencover --results-directory ./tests'

- name: Run codacy-coverage-reporter
uses: codacy/codacy-coverage-reporter-action@master
with:
api-token: ${{ secrets.CODACY_API_TOKEN }}
coverage-reports: tests/coverage.opencover.xml
coverage-reports: tests/coverage.opencover.*.xml

# Execute Codacy Analysis CLI and generate a SARIF output with the security issues identified during the analysis
- name: Run Codacy Analysis CLI
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/dotnetcore-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,3 @@ jobs:
uses: Elskom/build-dotnet@main
with:
TEST: true
ADDITIONAL_TEST_ARGS: ' --coverlet --coverlet-output-format opencover --results-directory ./tests'
1 change: 0 additions & 1 deletion .github/workflows/dotnetcore-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,3 @@ jobs:
with:
TEST: true
PUSH: true
ADDITIONAL_TEST_ARGS: ' --coverlet --coverlet-output-format opencover --results-directory ./tests'
1 change: 0 additions & 1 deletion .github/workflows/dotnetcore.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,3 @@ jobs:
uses: Elskom/build-dotnet@main
with:
TEST: true
ADDITIONAL_TEST_ARGS: ' --coverlet --coverlet-output-format opencover --results-directory ./tests'
1 change: 1 addition & 0 deletions NuGet.config
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<configuration>
<packageSources>
<add key="coverletNightly" value="https://pkgs.dev.azure.com/tonerdo/coverlet/_packaging/coverlet-nightly/nuget/v3/index.json" />
<add key="xunit-prereleases" value="https://www.myget.org/F/xunit/api/v3/index.json" />
<add key="dotnet-tools" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-tools/nuget/v3/index.json" />
</packageSources>
Expand Down
1 change: 1 addition & 0 deletions tests/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
<!-- <CoverletOutputFormat>opencover</CoverletOutputFormat>
<CoverletOutput>$(MSBuildThisFileDirectory)coverage.codacy.opencover.xml</CoverletOutput> -->
<ImplicitUsings>enable</ImplicitUsings>
<TestingPlatformCommandLineArguments>--coverlet --coverlet-output-format opencover --results-directory $(MSBuildThisFileDirectory)</TestingPlatformCommandLineArguments>
</PropertyGroup>

</Project>
Loading