diff --git a/.github/workflows/phpunit.yml b/.github/workflows/phpunit.yml index 2ad570a5de90..5d62e100d678 100644 --- a/.github/workflows/phpunit.yml +++ b/.github/workflows/phpunit.yml @@ -103,7 +103,6 @@ jobs: restore-keys: | ${{ runner.os }}-${{ matrix.php }}-composer- - - name: Install composer dependencies run: | composer config -g github-oauth.github.com ${{ secrets.GITHUB_TOKEN }} diff --git a/tests/ci b/tests/ci index 3c097b868a6b..e0e5fbc9345e 100755 --- a/tests/ci +++ b/tests/ci @@ -35,7 +35,7 @@ $tests = \Illuminate\Support\Str::of($process->getOutput()) * Run phpunit with a filter: * phpunit --filter 'TestClass|AnotherTestClass|...' */ -$process = new \Symfony\Component\Process\Process(['./vendor/bin/phpunit', '--testdox', '--filter', $tests->join('|')], timeout: null); +$process = new \Symfony\Component\Process\Process(['php artisan test', '--testdox', '--filter', $tests->join('|')], timeout: null); $process->start(); // Make sure we have live data output