Skip to content

Commit da06d3a

Browse files
committed
build NUnit4 constraints explicitly on .NET >= 6
1 parent 25459e3 commit da06d3a

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

appveyor.yml

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,18 +29,29 @@ for:
2929
- matrix:
3030
only:
3131
- image: Visual Studio 2017
32+
before_build:
33+
- dotnet restore XMLUnit.NET.sln
34+
build:
35+
project: XMLUnit.NET.sln
36+
test_script:
37+
- dotnet test src/tests/net-core/XMLUnit.Core.Tests.csproj
38+
- dotnet test src/tests/net-constraints-nunit3/XMLUnit.NUnit3.Constraints.Test.csproj
39+
- dotnet test src/tests/net-placeholders/XMLUnit.Placeholders.Tests.csproj
40+
41+
- matrix:
42+
only:
3243
- image: Visual Studio 2022
3344
- image: Ubuntu2204
3445
before_build:
3546
- dotnet restore XMLUnit.NET.sln
36-
- dotnet --version
3747
build:
3848
project: XMLUnit.NET.sln
3949
test_script:
4050
- dotnet test src/tests/net-core/XMLUnit.Core.Tests.csproj
4151
- dotnet test src/tests/net-constraints-nunit3/XMLUnit.NUnit3.Constraints.Test.csproj
42-
- dotnet test src/tests/net-constraints-nunit4/XMLUnit.NUnit4.Constraints.Test.csproj
4352
- dotnet test src/tests/net-placeholders/XMLUnit.Placeholders.Tests.csproj
53+
- dotnet build src/main/net-constraints-nunit4/XMLUnit.NUnit4.Constraints.csproj
54+
- dotnet test src/tests/net-constraints-nunit4/XMLUnit.NUnit4.Constraints.Test.csproj
4455

4556
install:
4657
- cmd: git submodule update --init

0 commit comments

Comments
 (0)