-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathappveyor.yml
27 lines (27 loc) · 851 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
version: pine-1.0.{build}
pull_requests:
do_not_increment_build_number: true
image: Visual Studio 2022
install:
- ps: |
choco feature disable --name=showDownloadProgress
choco install opencover.portable
choco install codecov
build_script:
- ps: |
dotnet restore ./Stck.Tests/Stck.Tests.fsproj
dotnet build ./Stck.Tests/Stck.Tests.fsproj
test_script:
- ps: |
cd ./Stck.Tests
dotnet restore
dotnet tool restore
dotnet build
dotnet minicover instrument --workdir ../ --assemblies Stck.Tests/bin/**/*.dll --sources Stck/**/*.fs
dotnet minicover reset
dotnet test --no-build
dotnet minicover uninstrument --workdir ../
dotnet minicover opencoverreport --workdir ../
cd ..
after_test:
- ps: codecov.exe -f "opencovercoverage.xml"