actions(tests): use 'php artisan test', actually...

This commit is contained in:
Matthew Penner 2021-07-24 15:05:37 -06:00
parent 544d1f5746
commit b25a0c4cbc

View file

@ -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: php artisan tests/Unit run: php artisan test 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: php artisan tests/Integration run: php artisan test 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