Skip to content

Commit 639764e

Browse files
Merge pull request #29 from TheDragonCode/2.x
Added `composer test` console command
2 parents 8725777 + 13adf10 commit 639764e

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,4 +42,4 @@ jobs:
4242
run: composer require --dev laravel/framework:^${{ matrix.laravel }}
4343

4444
- name: Execute tests
45-
run: sudo vendor/bin/phpunit
45+
run: composer test

composer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@
7575
"cp vendor/dragon-code/codestyler/.editorconfig .editorconfig",
7676
"composer normalize"
7777
],
78-
"style": "vendor/bin/pint --parallel"
78+
"style": "vendor/bin/pint --parallel",
79+
"test": "vendor/bin/phpunit"
7980
}
8081
}

0 commit comments

Comments
 (0)