Skip to content

Commit

Permalink
Update appveyor.yml (#214)
Browse files Browse the repository at this point in the history
* Update appveyor.yml

* Update appveyor.yml
  • Loading branch information
guibranco authored Jan 30, 2024
1 parent e13fa32 commit b0d4ccc
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,opencover,lcov\`""
}
- 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 b0d4ccc

Please sign in to comment.