diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e0d4f0f0e..35d43fa8f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -52,7 +52,7 @@ jobs: - name: Test Rust working-directory: src/Rust - run: cargo llvm-cov --codecov --output-path ../../test/coverage.rust.json + run: cargo llvm-cov --cobertura --output-path ../../test/coverage.rust.xml - name: Build .NET run: dotnet build -c Release @@ -67,6 +67,8 @@ jobs: with: directory: ./test fail_ci_if_error: true + verbose: true + - name: Upload Artifacts uses: actions/upload-artifact@v3 diff --git a/test/Directory.Build.props b/test/Directory.Build.props index ade4796d0..5d297f83c 100644 --- a/test/Directory.Build.props +++ b/test/Directory.Build.props @@ -11,7 +11,7 @@ enable - opencover + cobertura ..\coverage.$(MSBuildProjectName).xml [Squirrel*]* [Squirrel.*.Tests]* diff --git a/test/Squirrel.Packaging.Tests/WindowsPackTests.cs b/test/Squirrel.Packaging.Tests/WindowsPackTests.cs index f68852c62..cc2d82547 100644 --- a/test/Squirrel.Packaging.Tests/WindowsPackTests.cs +++ b/test/Squirrel.Packaging.Tests/WindowsPackTests.cs @@ -358,7 +358,7 @@ private string RunProcess(string exe, string[] args, string workingDir, ILogger psi.ArgumentList.Add("-o"); psi.ArgumentList.Add(outputfile); psi.ArgumentList.Add("-f"); - psi.ArgumentList.Add("xml"); + psi.ArgumentList.Add("cobertura"); psi.ArgumentList.Add(exe); psi.ArgumentList.AddRange(args);