Skip to content
This repository has been archived by the owner on Apr 24, 2022. It is now read-only.

Commit

Permalink
Fixed unit tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
smack0007 committed Dec 7, 2018
1 parent 8779f11 commit c3aa6f6
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
7 changes: 7 additions & 0 deletions azure-pipelines.yml
Expand Up @@ -11,6 +11,13 @@ steps:
projects: GLFWDotNet.sln
arguments: '/v:d'

- task: DotNetCoreCLI@2
displayName: 'dotnet test'
inputs:
command: test
projects: 'tests/**/.csproj'
arguments: '-c Release'

- task: DotNetCoreCLI@2
displayName: 'dotnet pack'
inputs:
Expand Down
7 changes: 3 additions & 4 deletions tests/GLFWDotNet.Tests/GLFWDotNet.Tests.csproj
@@ -1,16 +1,15 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>netcoreapp2.0</TargetFramework>
<TargetFramework>netcoreapp2.1</TargetFramework>

<IsPackable>false</IsPackable>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.5.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.9.0" />
<PackageReference Include="xunit" Version="2.4.1" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.1" />
<DotNetCliToolReference Include="dotnet-xunit" Version="2.3.1" />
</ItemGroup>

</Project>

0 comments on commit c3aa6f6

Please sign in to comment.