-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathappveyor.yml
More file actions
31 lines (25 loc) · 850 Bytes
/
appveyor.yml
File metadata and controls
31 lines (25 loc) · 850 Bytes
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
image: Visual Studio 2022
version: '{build}'
configuration: Release
before_build:
- msbuild -t:restore "src\ParallelHelper.sln"
build:
project: src\ParallelHelper.sln
before_test:
- dotnet tool install --global coverlet.console --version 1.7.0
test_script:
- ps: coverlet src\ParallelHelper.Test\bin\Release\net6.0\ParallelHelper.Test.dll --target "dotnet" --targetargs 'test src\ParallelHelper.Test -c Release -logger:""C:\Program Files\AppVeyor\BuildAgent\dotnetcore\Appveyor.MSBuildLogger.dll"" --no-build' --format opencover --output coverage.xml
after_test:
- ps: |
if(-not (Test-Path env:APPVEYOR_PULL_REQUEST_TITLE)) {
dotnet tool install --global Codecov.Tool
codecov -f "coverage.xml"
}
for:
-
branches:
only:
- master
artifacts:
- path: src\**\*.nupkg
- path: src\**\*.vsix