From 7c459b50b8b89ad928ae2c0cd90210d6d5343b16 Mon Sep 17 00:00:00 2001 From: Blake Severson Date: Fri, 15 Mar 2024 18:07:31 -0700 Subject: [PATCH] chore: get err outputs from ci tests --- .env.testing | 2 +- .github/workflows/php-push.yml | 2 +- phpunit.xml | 1 + resources/views/app.blade.php | 4 +++- 4 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.env.testing b/.env.testing index 019eaee..f71d99f 100644 --- a/.env.testing +++ b/.env.testing @@ -1,6 +1,6 @@ APP_NAME="Recipe Box" APP_ENV=testing -APP_KEY= +APP_KEY=base64:XKQ466wnfap3VB+hP2V22FKbAQaWXhw4ERfBSZL9WSY= APP_DEBUG=true APP_TIMEZONE=UTC APP_URL=http://localhost diff --git a/.github/workflows/php-push.yml b/.github/workflows/php-push.yml index a765024..69e62bc 100644 --- a/.github/workflows/php-push.yml +++ b/.github/workflows/php-push.yml @@ -81,7 +81,7 @@ jobs: run: APP_ENV=testing php artisan key:generate - name: Tests - run: php artisan test -p --coverage-clover=clover.xml + run: php artisan test --coverage-clover=clover.xml env: DB_HOST: localhost diff --git a/phpunit.xml b/phpunit.xml index 4d113a1..b8f440a 100644 --- a/phpunit.xml +++ b/phpunit.xml @@ -28,6 +28,7 @@ + diff --git a/resources/views/app.blade.php b/resources/views/app.blade.php index 334627a..a937f6d 100644 --- a/resources/views/app.blade.php +++ b/resources/views/app.blade.php @@ -12,7 +12,9 @@ @routes - @vite(['resources/js/app.js', "resources/js/Pages/{$page['component']}.vue"]) + @if (! app()->environment("testing")) + @vite(['resources/js/app.js', "resources/js/Pages/{$page['component']}.vue"]) + @endif @inertiaHead