From f4f124708ec4702070569d17311c18e6573707e9 Mon Sep 17 00:00:00 2001 From: Funky Waddle Date: Sun, 15 Feb 2026 12:48:12 -0600 Subject: [PATCH] fix: provide explicit test paths and filter for PHPUnit in CI --- .github/workflows/ci.yml | 2 +- phpunit.xml | 20 ++++++++++++++++++++ 2 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 phpunit.xml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7e86287..6efb0bd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -36,7 +36,7 @@ jobs: run: composer install --prefer-dist --no-progress - name: Run test suite - run: vendor/bin/phpunit --coverage-text + run: vendor/bin/phpunit --coverage-text --coverage-filter src tests/Unit tests/Integration - name: Run Static Analysis (PHPStan) run: vendor/bin/phpstan analyse src --level 5 diff --git a/phpunit.xml b/phpunit.xml new file mode 100644 index 0000000..f98217a --- /dev/null +++ b/phpunit.xml @@ -0,0 +1,20 @@ + + + + + tests/Unit + + + tests/Integration + + + + + src + + +