-
Notifications
You must be signed in to change notification settings - Fork 93
/
appveyor.yml
28 lines (20 loc) · 975 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
version: 1.0.{build}
image: Visual Studio 2019
build_script:
- ps: >-
# CLI tooling still not first class citizen https://github.com/appveyor/ci/issues/1404
cd ./src
dotnet build
test:
assemblies:
only:
- Adaptive.Agrona.Tests.dll
- Adaptive.Aeron.Tests.dll
after_test:
- ps: >-
dotnet test -f netcoreapp3.1 ./Adaptive.Agrona.Tests/Adaptive.Agrona.Tests.csproj --logger "trx;LogFileName=AgronaResults.trx"
dotnet test -f netcoreapp3.1 ./Adaptive.Aeron.Tests/Adaptive.Aeron.Tests.csproj --logger "trx;LogFileName=AeronResults.trx"
# upload results to AppVeyor
$wc = New-Object 'System.Net.WebClient'
$wc.UploadFile("https://ci.appveyor.com/api/testresults/nunit3/$($env:APPVEYOR_JOB_ID)", (Resolve-Path ./Adaptive.Agrona.Tests/TestResults/AgronaResults*.trx))
$wc.UploadFile("https://ci.appveyor.com/api/testresults/nunit3/$($env:APPVEYOR_JOB_ID)", (Resolve-Path ./Adaptive.Aeron.Tests/TestResults/AeronResults*.trx))