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