Skip to content

Commit

Permalink
Update appveyor.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
guibranco authored Jan 29, 2024
1 parent 71d2a4e commit e910552
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,14 +56,10 @@ build_script:
- codeclimate-test-reporter before-build
- dotnet build %SOLUTION_NAME%.sln
- ps: $TEST_PROJECTS = (Get-ChildItem -Path .\Tests\**\ -Recurse -Include *.csproj).Fullname
- ps: $COVERLET_FORMATS = @('cobertura', 'lcov', 'opencover')
- ps: |
foreach($testProject in $TEST_PROJECTS)
{
foreach($coverletFormat in $COVERLET_FORMATS)
{
dotnet test $testProject /p:CollectCoverage=true /p:CoverletOutputFormat="$coverletFormat"
}
dotnet test $testProject /p:CollectCoverage=true "/p:CoverletOutputFormat=`"cobertura,lcov,opencover`""
}
- if %LOCAL_PR% EQU 1 codecov -f "Tests\%SOLUTION_NAME%.Tests\coverage.opencover.xml"
- if %LOCAL_PR% EQU 1 codeclimate-test-reporter format-coverage -t lcov -o "Tests\%SOLUTION_NAME%.Tests\code-climate.json" "Tests\%SOLUTION_NAME%.Tests\coverage.info"
Expand Down

0 comments on commit e910552

Please sign in to comment.