Skip to content

Commit

Permalink
Create appveyor.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
tomlin7 authored Jul 9, 2021
1 parent 1edf465 commit 4641f55
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
image: Visual Studio 2019

before_build:
- nuget restore
- choco install opencover.portable
- choco install codecov
- choco install dotnet-sdk

build:
project: Kookie.sln
verbosity: minimal

test_script:
- dotnet tool install --global coverlet.console --verbosity q
- cd C:\projects\Kookie\Kookie.Tests
- dotnet test --collect:"XPlat Code Coverage" --settings coverage.settings --verbosity n
- pwd
- cd "TestResults/"
- for /d %%A in (*) do cd %%A
- pwd
- dir
- move coverage.opencover.xml C:\projects\Kookie\Kookie_coverage.xml
- codecov -f "C:\projects\Kookie\Kookie_coverage.xml" -t ${{ secrets.CODECOV_TOKEN }}
- curl -s https://codecov.io/bash > codecov
- chmod +x codecov

0 comments on commit 4641f55

Please sign in to comment.