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: {}
|
Binary file not shown.
Binary file not shown.
File diff suppressed because it is too large
Load Diff
After Width: | Height: | Size: 46 KiB |
File diff suppressed because it is too large
Load Diff
Binary file not shown.
After Width: | Height: | Size: 45 KiB |
Loading…
Reference in new issue