Skip to content

Commit

Permalink
coverall
Browse files Browse the repository at this point in the history
  • Loading branch information
lduchosal authored Mar 14, 2021
1 parent 5941e5f commit eb33d5a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,18 +29,20 @@ init:

before_build:
- cmd: dotnet --version
- cmd: dotnet tool install coveralls.net
- cmd: dotnet clean ./src
- cmd: dotnet restore ./src --verbosity m
- cmd: nuget restore .\src
- cmd: nuget restore ./src

build_script:
- cmd: dotnet pack -c release ./src/System.Net.IPNetwork
- cmd: dotnet build -c release ./src/System.Net.IPNetwork.ConsoleApplication.NetFramework
- cmd: dotnet build -c release ./src/System.Net.IPNetwork.ConsoleApplication.NetCore

test_script:
- cmd: dotnet test ./src/System.Net.IPNetwork.TestProject.NetCore/System.Net.IPNetwork.TestProject.NetCore.csproj
- cmd: dotnet test ./src/System.Net.IPNetwork.TestProject.NetCore/System.Net.IPNetwork.TestProject.NetCore.csproj /p:CollectCoverage=true /p:CoverletOutputFormat=opencover
- vstest.console /logger:Appveyor c:\Projects\ipnetwork\src\System.Net.IPNetwork.TestProject.NetCore\bin\Debug\net5.0\System.Net.IPNetwork.TestProject.NetCore.dll
- csmacnz.Coveralls.exe --opencover -i ./src/System.Net.IPNetwork.TestProject.NetCore/System.Net.IPNetwork.TestProject.NetCorecoverage.net5.0.opencover.xml --useRelativePaths

# 1. Regenerate AppVeyor Api Key
# https://www.nuget.org/account/apikeys
Expand Down

0 comments on commit eb33d5a

Please sign in to comment.