diff --git a/.github/workflows/laravel.yml b/.github/workflows/laravel.yml index 220ce8783..fe54f77e9 100644 --- a/.github/workflows/laravel.yml +++ b/.github/workflows/laravel.yml @@ -16,13 +16,17 @@ jobs: extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, bcmath, soap, intl, gd, exif, iconv coverage: none - - name: Run composer install - run: composer install -n --prefer-dist + - name: Copy env file + run: + cp .env.test .env - name: Prepare Laravel Application run: | cp .env.test .env php artisan key:generate + - name: Run composer install + run: composer install -n --prefer-dist + - name: Run tests run: php artisan test