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

Popup_qui_marche_pas
Anthony RICHARD 2 years ago
parent f26af1acdc
commit 13b89a32ab

@ -13,7 +13,7 @@ steps:
- name: docs - name: docs
path: /docs path: /docs
commands: commands:
- cd Sources/TestPipeline/ - cd Sources/
- dotnet restore TestPipeline.sln - dotnet restore TestPipeline.sln
- dotnet build TestPipeline.sln -c Release --no-restore - dotnet build TestPipeline.sln -c Release --no-restore
- dotnet publish TestPipeline.sln -c Release --no-restore -o $CI_PROJECT_DIR/build/release - dotnet publish TestPipeline.sln -c Release --no-restore -o $CI_PROJECT_DIR/build/release
@ -21,7 +21,7 @@ steps:
- name: tests - name: tests
image: mcr.microsoft.com/dotnet/sdk:7.0 image: mcr.microsoft.com/dotnet/sdk:7.0
commands: commands:
- cd Sources/TestPipeline/ - cd Sources/
- dotnet restore TestPipeline.sln - dotnet restore TestPipeline.sln
- dotnet test TestPipeline.sln --no-restore - dotnet test TestPipeline.sln --no-restore
depends_on: [build] depends_on: [build]
@ -37,7 +37,7 @@ steps:
coverage_exclusions: "Tests/**" coverage_exclusions: "Tests/**"
commands: commands:
- cd Sources/TestPipeline/ - cd Sources/
- dotnet restore TestPipeline.sln - dotnet restore TestPipeline.sln
- dotnet sonarscanner begin /k:$${project_key} /d:sonar.host.url=$${sonar_host} /d:sonar.coverageReportPaths="coveragereport/SonarQube.xml" /d:sonar.coverage.exclusions=$${coverage_exclusions} /d:sonar.login=$${sonar_token} - dotnet sonarscanner begin /k:$${project_key} /d:sonar.host.url=$${sonar_host} /d:sonar.coverageReportPaths="coveragereport/SonarQube.xml" /d:sonar.coverage.exclusions=$${coverage_exclusions} /d:sonar.login=$${sonar_token}
- dotnet build TestPipeline.sln -c Release --no-restore - dotnet build TestPipeline.sln -c Release --no-restore

@ -3,11 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17 # Visual Studio Version 17
VisualStudioVersion = 17.5.33424.131 VisualStudioVersion = 17.5.33424.131
MinimumVisualStudioVersion = 10.0.40219.1 MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TestPipeline", "TestPipeline\TestPipeline.csproj", "{DC0B04CC-C4B6-4221-AD4A-98FEEC1A6E8C}" Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Model", "Stim.Model\Model.csproj", "{E56E9419-1E68-4C13-9301-54C4630D7A43}"
EndProject EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Model", "..\Stim.Model\Model.csproj", "{E56E9419-1E68-4C13-9301-54C4630D7A43}" Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Test", "TestProject1\Test.csproj", "{DEF64C4E-BF42-4CDA-BE95-62DD8B01365C}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Test", "..\TestProject1\Test.csproj", "{DEF64C4E-BF42-4CDA-BE95-62DD8B01365C}"
EndProject EndProject
Global Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution GlobalSection(SolutionConfigurationPlatforms) = preSolution
@ -15,10 +13,6 @@ Global
Release|Any CPU = Release|Any CPU Release|Any CPU = Release|Any CPU
EndGlobalSection EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution GlobalSection(ProjectConfigurationPlatforms) = postSolution
{DC0B04CC-C4B6-4221-AD4A-98FEEC1A6E8C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{DC0B04CC-C4B6-4221-AD4A-98FEEC1A6E8C}.Debug|Any CPU.Build.0 = Debug|Any CPU
{DC0B04CC-C4B6-4221-AD4A-98FEEC1A6E8C}.Release|Any CPU.ActiveCfg = Release|Any CPU
{DC0B04CC-C4B6-4221-AD4A-98FEEC1A6E8C}.Release|Any CPU.Build.0 = Release|Any CPU
{E56E9419-1E68-4C13-9301-54C4630D7A43}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {E56E9419-1E68-4C13-9301-54C4630D7A43}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{E56E9419-1E68-4C13-9301-54C4630D7A43}.Debug|Any CPU.Build.0 = Debug|Any CPU {E56E9419-1E68-4C13-9301-54C4630D7A43}.Debug|Any CPU.Build.0 = Debug|Any CPU
{E56E9419-1E68-4C13-9301-54C4630D7A43}.Release|Any CPU.ActiveCfg = Release|Any CPU {E56E9419-1E68-4C13-9301-54C4630D7A43}.Release|Any CPU.ActiveCfg = Release|Any CPU

@ -1,2 +0,0 @@
// See https://aka.ms/new-console-template for more information
Console.WriteLine("Hello, World!");

@ -1,10 +0,0 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net7.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
</Project>
Loading…
Cancel
Save