actions(tests): use 'php artisan' for running tests
This commit is contained in:
parent
31847a8566
commit
544d1f5746
1 changed files with 2 additions and 2 deletions
4
.github/workflows/tests.yml
vendored
4
.github/workflows/tests.yml
vendored
|
@ -55,13 +55,13 @@ jobs:
|
|||
run: vendor/bin/php-cs-fixer fix --dry-run --diff --diff-format=udiff --config .php-cs-fixer.dist.php
|
||||
continue-on-error: true
|
||||
- name: Execute Unit Tests
|
||||
run: vendor/bin/phpunit --bootstrap bootstrap/app.php tests/Unit
|
||||
run: php artisan tests/Unit
|
||||
if: ${{ always() }}
|
||||
env:
|
||||
DB_CONNECTION: testing
|
||||
TESTING_DB_HOST: UNIT_NO_DB
|
||||
- name: Execute Integration Tests
|
||||
run: vendor/bin/phpunit tests/Integration
|
||||
run: php artisan tests/Integration
|
||||
env:
|
||||
TESTING_DB_PORT: ${{ job.services.database.ports[3306] }}
|
||||
TESTING_DB_USERNAME: root
|
||||
|
|
Loading…
Reference in a new issue