Skip to content

Commit

Permalink
chore: get err outputs from ci tests
Browse files Browse the repository at this point in the history
  • Loading branch information
IronSinew committed Mar 16, 2024
1 parent caa7dac commit 7c459b5
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .env.testing
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/php-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
1 change: 1 addition & 0 deletions phpunit.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
<env name="PULSE_ENABLED" value="false"/>
<env name="QUEUE_CONNECTION" value="sync"/>
<env name="SESSION_DRIVER" value="array"/>
<env name="LOG_CHANNEL" value="stderr"/>
<env name="TELESCOPE_ENABLED" value="false"/>
</php>
</phpunit>
4 changes: 3 additions & 1 deletion resources/views/app.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@

<!-- Scripts -->
@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
</head>
<body class="font-sans antialiased">
Expand Down

0 comments on commit 7c459b5

Please sign in to comment.