mirror of
https://github.com/velopack/velopack.git
synced 2025-10-25 15:19:22 +00:00
Try all coverage in the cobertura format
This commit is contained in:
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
@@ -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
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
|
||||
<!-- Coverage -->
|
||||
<CoverletOutputFormat>opencover</CoverletOutputFormat>
|
||||
<CoverletOutputFormat>cobertura</CoverletOutputFormat>
|
||||
<CoverletOutput>..\coverage.$(MSBuildProjectName).xml</CoverletOutput>
|
||||
<Include>[Squirrel*]*</Include>
|
||||
<Exclude>[Squirrel.*.Tests]*</Exclude>
|
||||
|
||||
@@ -358,7 +358,7 @@ public class WindowsPackTests
|
||||
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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user