Skip to content
This repository was archived by the owner on Apr 16, 2020. It is now read-only.

Commit b257c1b

Browse files
SeanFeldmanctaggart
authored andcommitted
Enable tests on appveyor (#252)
* adding tests to appveyor's execution * add build related files to the solution tree strying to restore everything prior to running to see if it helps strying PS approach
1 parent 9e652d1 commit b257c1b

File tree

2 files changed

+26
-2
lines changed

2 files changed

+26
-2
lines changed

SourceLink.sln

+10-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Microsoft Visual Studio Solution File, Format Version 12.00
22
# Visual Studio 15
3-
VisualStudioVersion = 15.0.26403.7
3+
VisualStudioVersion = 15.0.26730.12
44
MinimumVisualStudioVersion = 10.0.40219.1
55
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{876D3926-2BE5-40B4-B9D4-1218875A3870}"
66
ProjectSection(SolutionItems) = preProject
@@ -45,6 +45,12 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Embed", "Embed", "{CB177CE6
4545
EndProject
4646
Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "SourceLink.Shared", "SourceLink.Shared\SourceLink.Shared.shproj", "{B1B7304A-FB72-435B-920F-B2DC53DA6054}"
4747
EndProject
48+
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "build", "build", "{853D5303-E7E6-48D5-A480-BB5B34BC9B06}"
49+
ProjectSection(SolutionItems) = preProject
50+
appveyor.yml = appveyor.yml
51+
build.ps1 = build.ps1
52+
EndProjectSection
53+
EndProject
4854
Global
4955
GlobalSection(SharedMSBuildProjectFiles) = preSolution
5056
SourceLink.Embed.Shared\SourceLink.Embed.Shared.projitems*{083cd576-0be4-4aac-86d8-00e50c660759}*SharedItemsImports = 13
@@ -188,4 +194,7 @@ Global
188194
{CB177CE6-ADA8-4017-B5B3-579B72B67B2A} = {07737978-28A8-42A2-A240-A66EF5EC4C5E}
189195
{B1B7304A-FB72-435B-920F-B2DC53DA6054} = {07737978-28A8-42A2-A240-A66EF5EC4C5E}
190196
EndGlobalSection
197+
GlobalSection(ExtensibilityGlobals) = postSolution
198+
SolutionGuid = {7623516C-0410-449C-9EFC-84B884102D70}
199+
EndGlobalSection
191200
EndGlobal

appveyor.yml

+16-1
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,28 @@
11
image: Visual Studio 2017
2+
23
init:
34
- git config --global core.autocrlf input
45
- '"C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe"'
6+
57
clone_depth: 10
8+
9+
before_build:
10+
- cmd: dotnet restore .\SourceLink.sln
11+
612
build_script:
713
- ps: |
814
dotnet --version
915
.\build.ps1
1016
if ($lastexitcode -ne 0){ exit $lastexitcode }
11-
test: off
17+
18+
test:
19+
assemblies:
20+
only:
21+
- '**\Tests.dll'
22+
23+
24+
test_script:
25+
- ps: dotnet test .\Tests\Tests.csproj
26+
1227
artifacts:
1328
- path: bin\*.nupkg

0 commit comments

Comments
 (0)