-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathappveyor.yml
35 lines (35 loc) · 1.03 KB
/
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
33
34
35
os: Visual Studio 2022
configuration: Release
install:
- "SET PATH=C:\\ProgramData\\chocolatey\\bin;%PATH%"
- choco install gitversion.portable -y --version 5.12.0
- gitversion /l console /output buildserver
- choco install GitReleaseNotes.Portable
- choco install opencover.portable
- choco install codecov
before_build:
- dotnet restore
- GitReleaseNotes . /AllTags /C breaking /O ReleaseNotes.md || exit 0
build:
project: Weave.sln
test_script:
- OpenCover.Console.exe -target:dotnet.exe -targetargs:"test --configuration %CONFIGURATION% --no-build" -register:user -filter:"+[*]* -[*.Tests]* -[xunit*]*" -output:coverage.xml -oldStyle
after_test:
- codecov -f "coverage.xml"
artifacts:
- path: 'ReleaseNotes.md'
- path: '**\*.nupkg'
deploy:
provider: NuGet
api_key:
secure: TVpGH+UM7lK2qC2RiNlBY2kLk5MfE228uzlXb1JSaSW05USy6rjkTW+4CksCOu8H
skip_symbols: false
artifact: /.*\.nupkg/
skip_commits:
files:
- .gitattributes
- .gitignore
- CodeMaid.config
- license.md
- Weave.ico
- Weave.svg