Skip to content

Commit 30a8057

Browse files
committed
Test on both NetFx and CoreCLR
1 parent cf9e63c commit 30a8057

File tree

3 files changed

+11
-6
lines changed

3 files changed

+11
-6
lines changed

appveyor.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,13 @@ configuration: Release
44
environment:
55
VisualStudioVersion: 15.0
66
before_build:
7-
- ps: msbuild src\Xunit.Combinatorial.sln /nologo /m /v:quiet /t:restore
7+
- ps: dotnet restore src
88
build_script:
9-
- ps: msbuild src\Xunit.Combinatorial.sln /nologo /m /fl /v:quiet /t:build,pack
10-
test:
11-
assemblies: 'bin\**\*tests.dll'
9+
- ps: >-
10+
dotnet build src /nologo
11+
12+
dotnet pack src --no-build /nologo
13+
test_script:
14+
- ps: dotnet test .\src\Xunit.Combinatorial.Tests\Xunit.Combinatorial.Tests.csproj --no-build
1215
artifacts:
1316
- path: bin\**\*.nupkg

src/Xunit.Combinatorial.Tests/Xunit.Combinatorial.Tests.csproj

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
3-
<TargetFramework>net452</TargetFramework>
3+
<TargetFrameworks>net461;netcoreapp1.0</TargetFrameworks>
44
<IsPackable>false</IsPackable>
55
</PropertyGroup>
66
<ItemGroup>
@@ -12,9 +12,10 @@
1212
<ProjectReference Include="..\Xunit.Combinatorial\Xunit.Combinatorial.csproj" />
1313
</ItemGroup>
1414
<ItemGroup>
15-
<PackageReference Include="Validation" Version="2.2.8" />
15+
<PackageReference Include="Validation" Version="2.4.15" />
1616
<PackageReference Include="xunit" Version="2.2.0" />
1717
<PackageReference Include="xunit.runner.visualstudio" Version="2.2.0" />
18+
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.0.0" />
1819
</ItemGroup>
1920
<ItemGroup>
2021
<Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />

src/Xunit.Combinatorial/Xunit.Combinatorial.ruleset

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@
6969
<Rule Id="CA2242" Action="Warning" />
7070
</Rules>
7171
<Rules AnalyzerId="StyleCop.Analyzers" RuleNamespace="StyleCop.Analyzers">
72+
<Rule Id="AD0001" Action="None" />
7273
<Rule Id="SA1005" Action="Hidden" />
7374
<Rule Id="SA1600" Action="Hidden" />
7475
<Rule Id="SX1309S" Action="None" />

0 commit comments

Comments
 (0)