From 0f3983687a6395b5e873c0c1fd7c0106203b200f Mon Sep 17 00:00:00 2001 From: abourtnik Date: Fri, 17 Jan 2025 18:49:24 +0100 Subject: [PATCH] fix CI/CD --- .env.testing | 2 +- .github/workflows/CI-CD.yml | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.env.testing b/.env.testing index ed8a7df..32a6d96 100644 --- a/.env.testing +++ b/.env.testing @@ -1,6 +1,6 @@ APP_NAME=ClipZoneTest APP_ENV=testing -APP_KEY= +APP_KEY=base64:QikAJAlo0evYLq2RYFxGv/PRrSIfJcNDj2qFiRp1oUs= APP_DEBUG=true APP_URL=http://localhost:8080 BCRYPT_ROUNDS=4 diff --git a/.github/workflows/CI-CD.yml b/.github/workflows/CI-CD.yml index b5edd78..21b9bfb 100644 --- a/.github/workflows/CI-CD.yml +++ b/.github/workflows/CI-CD.yml @@ -15,12 +15,10 @@ jobs: php-version: '8.1' - name: 📦 Install Composer Dependencies run: composer install --no-progress --prefer-dist --optimize-autoloader - - name: 🏗 Generate Application Key - run: php artisan key:generate - name: 🏗 Directory Permissions run: chmod -R 777 storage bootstrap/cache - name: 🏗 Execute tests (Unit and Feature tests) via PHPUnit - run: make test + run: php artisan test --env=testing --stop-on-failure - name: 🏗 Execute PHP Stan run: ./vendor/bin/phpstan analyse deploy: