Skip to content

Commit e6f7b3b

Browse files
committed
feat(tests): update github workflow, phpunit
- rename example unit test so it doesn't fire
1 parent 4518d02 commit e6f7b3b

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

.github/workflows/laravel.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@ on:
77
pull_request:
88
branches:
99
- '**'
10-
release:
11-
types: [published]
1210

1311
jobs:
1412
laravel-tests:
@@ -39,6 +37,6 @@ jobs:
3937
- name: Directory Permissions
4038
run: chmod -R 777 storage bootstrap/cache
4139
- name: Execute tests (Unit and Feature tests) via PHPUnit
42-
run: vendor/bin/phpunit
40+
run: php artisan test
4341
env:
4442
DB_PORT: ${{ job.services.mysql.ports[3306] }}

phpunit.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@
1212
<testsuite name="Feature">
1313
<directory suffix="Test.php">./tests/Feature</directory>
1414
</testsuite>
15+
<testsuite name="Unit">
16+
<directory suffix="Test.php">./tests/Unit</directory>
17+
</testsuite>
1518
</testsuites>
1619
<coverage processUncoveredFiles="true">
1720
<include>
File renamed without changes.

0 commit comments

Comments
 (0)