From aa036c6e4034bae9d2fe2daa4479b18d3e553da5 Mon Sep 17 00:00:00 2001 From: David Bomba Date: Tue, 3 Sep 2024 09:06:39 +1000 Subject: [PATCH] Add support for PHP 8.3 tests --- .github/workflows/phpunit.yml | 1 - tests/ci | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) 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