mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-23 20:00:33 -04:00
Add support for PHP 8.3 tests
This commit is contained in:
parent
f85e96c3a6
commit
aa036c6e40
1
.github/workflows/phpunit.yml
vendored
1
.github/workflows/phpunit.yml
vendored
@ -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 }}
|
||||
|
2
tests/ci
2
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user