-
Notifications
You must be signed in to change notification settings - Fork 37
Expand file tree
/
Copy path.appveyor.yml
More file actions
27 lines (20 loc) 路 757 Bytes
/
Copy path.appveyor.yml
File metadata and controls
27 lines (20 loc) 路 757 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
image: Visual Studio 2022
environment:
# Adds "+build.XXX" to MinVer's build metadata
MINVERBUILDMETADATA: build.%APPVEYOR_BUILD_NUMBER%
DOTNET_CLI_TELEMETRY_OPTOUT: true
DOTNET_NOLOGO: true
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
# AppVeyor's displayed version, will get updated by MSBuild target
version: '{build}'
before_build:
- dotnet restore
build_script:
- dotnet build --no-restore --configuration Release -p:GeneratePackageOnBuild=true -p:ContinuousIntegrationBuild=true
test_script:
- dotnet test --no-build --configuration Release -p:CollectCoverage=true
after_test:
- choco install codecov
- pwsh: codecov --file @(Get-ChildItem -Path artifacts/coverage/*opencover*.xml -Recurse)
artifacts:
- path: artifacts/package/**/*.nupkg