-
Notifications
You must be signed in to change notification settings - Fork 3
/
.appveyor.yml
15 lines (15 loc) · 882 Bytes
/
.appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
version: '{build}'
skip_branch_with_pr: true
image: Visual Studio 2022
install:
- dotnet tool install coveralls.net --tool-path tools
build_script:
- dotnet build src/Castle.Sdk
- dotnet build src/Tests -c Debug
after_build:
- dotnet pack -c Release src/Castle.Sdk
test_script:
- dotnet test --no-build /p:CollectCoverage=true /p:CoverletOutputFormat=opencover /p:Include="[Castle.Sdk*]*" src/Tests/Tests.csproj
- ps: .\tools\csmacnz.coveralls.exe --opencover -i src/Tests/coverage.opencover.xml --useRelativePaths --repoToken $env:COVERALLS_REPO_TOKEN --commitId $env:APPVEYOR_REPO_COMMIT --commitBranch $env:APPVEYOR_REPO_BRANCH --commitAuthor $env:APPVEYOR_REPO_COMMIT_AUTHOR --commitEmail $env:APPVEYOR_REPO_COMMIT_AUTHOR_EMAIL --commitMessage $env:APPVEYOR_REPO_COMMIT_MESSAGE --jobId $env:APPVEYOR_JOB_ID
artifacts:
- path: 'src\Castle.Sdk\bin\Release\*.nupkg'