Skip to content
Snippets Groups Projects
Commit 1a6ce153 authored by Cédric Girardot's avatar Cédric Girardot
Browse files

CI : Séparation des jobs

Change-Id: Ic9495e111f3288a3f453a368b887874f38b17190
parent a6694601
No related branches found
No related tags found
No related merge requests found
...@@ -24,7 +24,7 @@ get-version: ...@@ -24,7 +24,7 @@ get-version:
stage: pre-build stage: pre-build
extends: .get-version-git-template extends: .get-version-git-template
test-app: .tests-app:
stage: test stage: test
extends: .composer-yarn-build-template extends: .composer-yarn-build-template
services: services:
...@@ -47,11 +47,20 @@ test-app: ...@@ -47,11 +47,20 @@ test-app:
bin/console doctrine:schema:update --force bin/console doctrine:schema:update --force
bin/console cache:clear bin/console cache:clear
test-code-format:
extends: .tests-app
script:
- |
bin/console lint:yaml --no-interaction config bin/console lint:yaml --no-interaction config
bin/console lint:yaml --no-interaction translations bin/console lint:yaml --no-interaction translations
./vendor/bin/phpcs ./vendor/bin/phpcs
./vendor/bin/phplint --no-progress --no-interaction ./vendor/bin/phplint --no-progress --no-interaction
./vendor/bin/phpstan analyse --no-progress --no-interaction ./vendor/bin/phpstan analyse --no-progress --no-interaction
test-unit:
extends: .tests-app
script:
- |
bin/phpunit tests/UnitTests bin/phpunit tests/UnitTests
build-app: build-app:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment