test
continuous-integration/drone/push Build is failing Details

pull/11/head
Victor Perez NGOUNOU 2 years ago
parent 1d5d73721c
commit 607b03bfb4

@ -8,7 +8,7 @@ trigger:
steps:
- name: build
image: mcr.microsoft.com/dotnet/sdk:7.0
image: mcr.microsoft.com/dotnet/sdk:6.0
volumes:
- name: docs
path: /docs
@ -19,7 +19,7 @@ steps:
- dotnet publish Solution.sln -c Release --no-restore -o CI_PROJECT_DIR/build/release
- name: tests
image: mcr.microsoft.com/dotnet/sdk:7.0
image: mcr.microsoft.com/dotnet/sdk:6.0
commands:
- cd Sources/
- dotnet restore Solution.sln

@ -7,13 +7,13 @@
<IsPackable>false</IsPackable>
<LangVersion>11</LangVersion>
<LangVersion>10</LangVersion>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.1.0"/>
<PackageReference Include="Moq" Version="4.18.4"/>
<PackageReference Include="xunit" Version="2.4.1"/>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.1.0" />
<PackageReference Include="Moq" Version="4.18.4" />
<PackageReference Include="xunit" Version="2.4.1" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.3">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
@ -25,8 +25,8 @@
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\BowlingApi\BowlingApi.csproj"/>
<ProjectReference Include="..\..\BowlingService\BowlingService.csproj"/>
<ProjectReference Include="..\..\BowlingApi\BowlingApi.csproj" />
<ProjectReference Include="..\..\BowlingService\BowlingService.csproj" />
</ItemGroup>
<ItemGroup>

@ -1,5 +1,4 @@
using DTOs;
using FluentAssertions;
namespace BowlingAPITest;

@ -1,6 +1,6 @@
global using Xunit;
global using BowlingApi.Controllers;
global using BowlingEF.Entities;
global using BowlingService.Interfaces;
global using Microsoft.AspNetCore.Mvc;
global using Moq;
global using Moq;
global using FluentAssertions;
Loading…
Cancel
Save