From f27e0aa8c683ecc20331a2dd0a8d2fdfa8c3ee7a Mon Sep 17 00:00:00 2001 From: Martin Kiragu Date: Tue, 2 May 2023 08:17:06 +0300 Subject: [PATCH] reddis-predis config and remove the unit test action --- .gitlab-ci.yml | 32 ++++++++++++++++---------------- composer.json | 1 + 2 files changed, 17 insertions(+), 16 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index daad27fa..5366a5fc 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -96,24 +96,24 @@ database: - if: '$CI_COMMIT_BRANCH =~ /.*/' #mysql -unit_test: - stage: unit_test - services: - - name: mysql:8.0 - command: [ "--default-authentication-plugin=mysql_native_password" ] +#unit_test: + # stage: unit_test + # services: + # - name: mysql:8.0 + # command: [ "--default-authentication-plugin=mysql_native_password" ] #dependencies: # - database - script: - - npm install # Install npm dependencies - - gulp build # Build assets - - composer install - - cp .env.example .env - - php artisan key:generate - - php artisan migrate:fresh - - php artisan db:seed - - php artisan test - rules: - - if: '$CI_COMMIT_BRANCH =~ /.*/' + # script: + # - npm install # Install npm dependencies + # - gulp build # Build assets + # - composer install + # - cp .env.example .env + # - php artisan key:generate + # - php artisan migrate:fresh + # - php artisan db:seed + # - php artisan test + # rules: + # - if: '$CI_COMMIT_BRANCH =~ /.*/' diff --git a/composer.json b/composer.json index e2b684e5..5cf6ba23 100644 --- a/composer.json +++ b/composer.json @@ -23,6 +23,7 @@ "laravel/tinker": "^2.5", "league/fractal": "^0.20.1", "maatwebsite/excel": "^3.1", + "predis/predis": "^2.1", "rinvex/countries": "^6.1", "spatie/laravel-activitylog": "^3.14", "spatie/laravel-fractal": "^5.8",