-
Notifications
You must be signed in to change notification settings - Fork 6
/
appveyor.yml
32 lines (30 loc) · 854 Bytes
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
version: '{build}'
branches:
only:
- master
only_commits:
files:
- src/
image: Visual Studio 2022
artifacts:
- path: build\artifacts\*.nupkg
- path: build\artifacts\*.snupkg
before_build:
- nuget restore
- choco install opencover.portable
- choco install codecov
build_script:
- ps: >-
cd build
.\build.ps1
cd ..\
test_script:
- OpenCover.Console.exe -target:"C:\Program Files\dotnet\dotnet.exe" -targetargs:test -register:user -filter:"+[Structr*]* -[Structr*]*.Internal.* -[Structr.SqlServer]* -[Structr.EntityFramework]* -[Structr.Tests*]* -[Structr.Samples*]*" -output:".\coverage.xml" -oldstyle
- codecov -f "coverage.xml"
deploy:
- provider: NuGet
api_key:
secure: nVvpcRUKXgV7vSeAC+EvjqK7IgYZDwyN3T3+XD9Bz+o+/p22T7z2D9/c18gs0BJC
artifact: /build\/artifacts\/.*(\.|\.s)nupkg/
on:
branch: master