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

@ -1,37 +1,31 @@
 
Microsoft Visual Studio Solution File, Format Version 12.00 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 EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Test", "..\TestProject1\Test.csproj", "{DEF64C4E-BF42-4CDA-BE95-62DD8B01365C}" Global
EndProject GlobalSection(SolutionConfigurationPlatforms) = preSolution
Global Debug|Any CPU = Debug|Any CPU
GlobalSection(SolutionConfigurationPlatforms) = preSolution Release|Any CPU = Release|Any CPU
Debug|Any CPU = Debug|Any CPU EndGlobalSection
Release|Any CPU = Release|Any CPU GlobalSection(ProjectConfigurationPlatforms) = postSolution
EndGlobalSection {E56E9419-1E68-4C13-9301-54C4630D7A43}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
GlobalSection(ProjectConfigurationPlatforms) = postSolution {E56E9419-1E68-4C13-9301-54C4630D7A43}.Debug|Any CPU.Build.0 = Debug|Any CPU
{DC0B04CC-C4B6-4221-AD4A-98FEEC1A6E8C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {E56E9419-1E68-4C13-9301-54C4630D7A43}.Release|Any CPU.ActiveCfg = Release|Any CPU
{DC0B04CC-C4B6-4221-AD4A-98FEEC1A6E8C}.Debug|Any CPU.Build.0 = Debug|Any CPU {E56E9419-1E68-4C13-9301-54C4630D7A43}.Release|Any CPU.Build.0 = Release|Any CPU
{DC0B04CC-C4B6-4221-AD4A-98FEEC1A6E8C}.Release|Any CPU.ActiveCfg = Release|Any CPU {DEF64C4E-BF42-4CDA-BE95-62DD8B01365C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{DC0B04CC-C4B6-4221-AD4A-98FEEC1A6E8C}.Release|Any CPU.Build.0 = Release|Any CPU {DEF64C4E-BF42-4CDA-BE95-62DD8B01365C}.Debug|Any CPU.Build.0 = Debug|Any CPU
{E56E9419-1E68-4C13-9301-54C4630D7A43}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {DEF64C4E-BF42-4CDA-BE95-62DD8B01365C}.Release|Any CPU.ActiveCfg = Release|Any CPU
{E56E9419-1E68-4C13-9301-54C4630D7A43}.Debug|Any CPU.Build.0 = Debug|Any CPU {DEF64C4E-BF42-4CDA-BE95-62DD8B01365C}.Release|Any CPU.Build.0 = Release|Any CPU
{E56E9419-1E68-4C13-9301-54C4630D7A43}.Release|Any CPU.ActiveCfg = Release|Any CPU EndGlobalSection
{E56E9419-1E68-4C13-9301-54C4630D7A43}.Release|Any CPU.Build.0 = Release|Any CPU GlobalSection(SolutionProperties) = preSolution
{DEF64C4E-BF42-4CDA-BE95-62DD8B01365C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU HideSolutionNode = FALSE
{DEF64C4E-BF42-4CDA-BE95-62DD8B01365C}.Debug|Any CPU.Build.0 = Debug|Any CPU EndGlobalSection
{DEF64C4E-BF42-4CDA-BE95-62DD8B01365C}.Release|Any CPU.ActiveCfg = Release|Any CPU GlobalSection(ExtensibilityGlobals) = postSolution
{DEF64C4E-BF42-4CDA-BE95-62DD8B01365C}.Release|Any CPU.Build.0 = Release|Any CPU SolutionGuid = {5D28C76C-B599-49C7-8CC2-30F448740700}
EndGlobalSection EndGlobalSection
GlobalSection(SolutionProperties) = preSolution EndGlobal
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {5D28C76C-B599-49C7-8CC2-30F448740700}
EndGlobalSection
EndGlobal

@ -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