Add support for PHP 8.3 tests

This commit is contained in:
David Bomba 2024-09-03 09:06:39 +10:00
parent f85e96c3a6
commit aa036c6e40
2 changed files with 1 additions and 2 deletions

View File

@ -103,7 +103,6 @@ jobs:
restore-keys: | restore-keys: |
${{ runner.os }}-${{ matrix.php }}-composer- ${{ runner.os }}-${{ matrix.php }}-composer-
- name: Install composer dependencies - name: Install composer dependencies
run: | run: |
composer config -g github-oauth.github.com ${{ secrets.GITHUB_TOKEN }} composer config -g github-oauth.github.com ${{ secrets.GITHUB_TOKEN }}

View File

@ -35,7 +35,7 @@ $tests = \Illuminate\Support\Str::of($process->getOutput())
* Run phpunit with a filter: * Run phpunit with a filter:
* phpunit --filter 'TestClass|AnotherTestClass|...' * 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(); $process->start();
// Make sure we have live data output // Make sure we have live data output