TestUnitaire
Tony Fages 2 years ago
commit b0df44ea79

@ -0,0 +1,47 @@
kind: pipeline
type: docker
name: CI
trigger:
branch:
- master
- Tony
- Modele
- tony-merge
event:
- push
steps:
- name: build
image: hub.codefirst.iut.uca.fr/marc.chevaldonne/codefirst-dotnet7-maui:latest
commands:
- cd ParionsCuite/ParionsCuite
- dotnet restore ParionsCuite.sln
- dotnet build ParionsCuite.sln -c Release --no-restore --framework net7.0
- dotnet publish ParionsCuite.sln -c Release --no-restore -o $CI_PROJECT_DIR/build/release --framework net7.0
- name: tests
image: hub.codefirst.iut.uca.fr/marc.chevaldonne/codefirst-dotnet7-maui:latest
commands:
- cd ParionsCuite/
- dotnet restore ParionsCuite.sln
- dotnet test ParionsCuite.sln --logger trx --no-restore /p:CollectCoverage=true /p:CoverletOutputFormat=cobertura --collect "XPlat Code Coverage"
depends_on: [build]
- name: generate-and-deploy-docs
image: hub.codefirst.iut.uca.fr/maxime.batista/codefirst-docdeployer
failure: ignore
commands:
- /entrypoint.sh -l Document/doxygen -t doxygen
when:
branch:
- master
event:
- push
depends_on: [ build, tests ]
volumes:
- name: docs
temp: {}

File diff suppressed because it is too large Load Diff

Binary file not shown.

After

Width:  |  Height:  |  Size: 46 KiB

File diff suppressed because it is too large Load Diff

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 45 KiB

@ -5,9 +5,10 @@ VisualStudioVersion = 17.0.31611.283
MinimumVisualStudioVersion = 10.0.40219.1
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ParionsCuite", "ParionsCuite\ParionsCuite.csproj", "{695ECD3A-15DB-4B29-BC9D-E8CC87D92900}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Modeles", "Modeles\Modeles.csproj", "{F96C29D3-33A7-4230-A1C7-799114865D52}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Modeles", "Modeles\Modeles.csproj", "{F96C29D3-33A7-4230-A1C7-799114865D52}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "TestParionsCuite", "TestParionsCuite\TestParionsCuite.csproj", "{0978D34C-3D5E-4863-B40C-55A38C6A2BBE}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TestParionsCuite", "TestParionsCuite\TestParionsCuite.csproj", "{0978D34C-3D5E-4863-B40C-55A38C6A2BBE}"
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
@ -20,10 +21,14 @@ Global
{695ECD3A-15DB-4B29-BC9D-E8CC87D92900}.Release|Any CPU.ActiveCfg = Release|Any CPU
{695ECD3A-15DB-4B29-BC9D-E8CC87D92900}.Release|Any CPU.Build.0 = Release|Any CPU
{695ECD3A-15DB-4B29-BC9D-E8CC87D92900}.Release|Any CPU.Deploy.0 = Release|Any CPU
{49CD9887-9E21-476B-A135-31DBA3B57F2C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{49CD9887-9E21-476B-A135-31DBA3B57F2C}.Debug|Any CPU.Build.0 = Debug|Any CPU
{49CD9887-9E21-476B-A135-31DBA3B57F2C}.Release|Any CPU.ActiveCfg = Release|Any CPU
{49CD9887-9E21-476B-A135-31DBA3B57F2C}.Release|Any CPU.Build.0 = Release|Any CPU
{F96C29D3-33A7-4230-A1C7-799114865D52}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{F96C29D3-33A7-4230-A1C7-799114865D52}.Debug|Any CPU.Build.0 = Debug|Any CPU
{F96C29D3-33A7-4230-A1C7-799114865D52}.Release|Any CPU.ActiveCfg = Release|Any CPU
{F96C29D3-33A7-4230-A1C7-799114865D52}.Release|Any CPU.Build.0 = Release|Any CPU
{0978D34C-3D5E-4863-B40C-55A38C6A2BBE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{0978D34C-3D5E-4863-B40C-55A38C6A2BBE}.Debug|Any CPU.Build.0 = Debug|Any CPU
{0978D34C-3D5E-4863-B40C-55A38C6A2BBE}.Release|Any CPU.ActiveCfg = Release|Any CPU
{0978D34C-3D5E-4863-B40C-55A38C6A2BBE}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE

@ -3,7 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 25.0.1706.0
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ParionsCuite", "ParionsCuite.csproj", "{3C605C4F-A3EE-4E08-B43D-692792A3DFCD}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@ -11,15 +13,18 @@ Global
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{3C605C4F-A3EE-4E08-B43D-692792A3DFCD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{3C605C4F-A3EE-4E08-B43D-692792A3DFCD}.Debug|Any CPU.Build.0 = Debug|Any CPU
{3C605C4F-A3EE-4E08-B43D-692792A3DFCD}.Release|Any CPU.ActiveCfg = Release|Any CPU
{3C605C4F-A3EE-4E08-B43D-692792A3DFCD}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {6A064B44-E657-47A6-9D3E-2585AD56A945}
EndGlobalSection
EndGlobal

Loading…
Cancel
Save