reddis-predis config and remove the unit test action

This commit is contained in:
Martin Kiragu
2023-05-02 08:17:06 +03:00
parent 5c109d625c
commit f27e0aa8c6
2 changed files with 17 additions and 16 deletions
+16 -16
View File
@@ -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 =~ /.*/'
+1
View File
@@ -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",