From 3fb7e857251d711c7f70ae9dd27daf84542e312f Mon Sep 17 00:00:00 2001 From: Luquor <signorellilucas7@gmail.com> Date: Mon, 13 Feb 2023 11:28:57 +0100 Subject: [PATCH] fix 2.0 ? --- .gitlab-ci.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f3a4753..3174165 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,25 +1,23 @@ image: name: codeception/codeception - entrypoint: ["/bin/sh", "-c"] + entrypoint: [""] stages: - build - test - deploy +cache: + paths: + - vendor/ build-job: # Le job se lance dans la phase de build stage: build script: - echo "Building the project" - composer install # On installe les dépendances - - composer remove phpunit/phpunit --dev # On supprime phpunit - - composer update # On met à jour les dépendances - - composer require "codeception/codeception" --dev # On installe codeception - - php vendor/bin/codecept bootstrap # On initialise codeception - echo "Build done" - unit-test-job: # Le job se lance dans la phase de test stage: test script: -- GitLab