From fc0317d2e073f7549f29d844dcc6fa5aee860dbf Mon Sep 17 00:00:00 2001 From: Milwad <98118400+milwad-dev@users.noreply.github.com> Date: Tue, 28 Jan 2025 23:15:24 +0330 Subject: [PATCH] add phpunit config --- .github/workflows/tests.yml | 2 +- composer.json | 2 +- phpunit.xml | 11 +++++++++++ 3 files changed, 13 insertions(+), 2 deletions(-) create mode 100644 phpunit.xml diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 9b13367..2d39e61 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -67,4 +67,4 @@ jobs: composer require "phpunit/phpunit:${{ matrix.phpunit }}" --no-interaction composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction - name: Execute tests - run: vendor/bin/phpunit tests + run: vendor/bin/phpunit diff --git a/composer.json b/composer.json index aaacee2..2adea54 100644 --- a/composer.json +++ b/composer.json @@ -46,6 +46,6 @@ "sort-packages": true }, "scripts": { - "test": "vendor/bin/phpunit tests" + "test": "vendor/bin/phpunit" } } diff --git a/phpunit.xml b/phpunit.xml new file mode 100644 index 0000000..b7312be --- /dev/null +++ b/phpunit.xml @@ -0,0 +1,11 @@ + + + + + ./tests + + +