From e426d79d37b056a1f85b6d42d6e6d559066969e2 Mon Sep 17 00:00:00 2001 From: Alessandro Lai Date: Tue, 6 Feb 2024 15:00:09 +0100 Subject: [PATCH] Use dedicated configuration to handle new PHPUnit config --- .github/workflows/ci.yml | 4 +++- phpunit.10.5+.xml.dist | 18 ++++++++++++++++++ 2 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 phpunit.10.5+.xml.dist diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 052dc11..2624df5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -37,10 +37,12 @@ jobs: php: ['7.3', '7.4', '8.0', '8.1', '8.2', '8.3'] min_stability: [''] name_suffix: [''] + phpunit_configuration: ['phpunit.xml.dist'] include: - php: '8.3' min_stability: 'dev' name_suffix: ' (dev deps)' + phpunit_configuration: 'phpunit.10.5+.xml.dist' name: PHP ${{ matrix.php }}${{ matrix.name_suffix }} @@ -63,4 +65,4 @@ jobs: run: composer install --ansi --no-interaction --no-progress - name: Execute Unit Tests - run: vendor/bin/phpunit --coverage-text + run: vendor/bin/phpunit --coverage-text --configuration ${{ matrix.phpunit_configuration }} diff --git a/phpunit.10.5+.xml.dist b/phpunit.10.5+.xml.dist new file mode 100644 index 0000000..e01a6dc --- /dev/null +++ b/phpunit.10.5+.xml.dist @@ -0,0 +1,18 @@ + + + + + ./tests/ + + + + + ./src + + +