From 544d1f5746ba679fb7ed40ecffeaf6e48a6db9f3 Mon Sep 17 00:00:00 2001 From: Matthew Penner Date: Sat, 24 Jul 2021 15:04:06 -0600 Subject: [PATCH] actions(tests): use 'php artisan' for running tests --- .github/workflows/tests.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 4c938d1f..b788f577 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -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