From 8dcf4c7fa2e243ac9637339d27e53c6d66c8800e Mon Sep 17 00:00:00 2001 From: pataar Date: Mon, 27 Jan 2025 14:54:17 +0100 Subject: [PATCH] resolve pipeline issues --- .github/workflows/tests.yml | 2 +- .gitignore | 3 ++- composer.json | 6 +++--- phpunit.xml | 4 ++-- 4 files changed, 8 insertions(+), 7 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 6ba386e..7a9f600 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -61,4 +61,4 @@ jobs: - name: Coveralls env: COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: php vendor/bin/php-coveralls -v \ No newline at end of file + run: php vendor/bin/php-coveralls -v --coverage_clover=build/logs/clover.xml \ No newline at end of file diff --git a/.gitignore b/.gitignore index 41e29ac..d3413d4 100644 --- a/.gitignore +++ b/.gitignore @@ -8,4 +8,5 @@ demo/cache .coveralls.yml export-ignore phpstan.neon export-ignore phpunit.xml export-ignore -composer.lock \ No newline at end of file +composer.lock +build/ \ No newline at end of file diff --git a/composer.json b/composer.json index 9a759f4..322282f 100644 --- a/composer.json +++ b/composer.json @@ -23,8 +23,8 @@ "require": { "php": "^8.1", "ua-parser/uap-php": "~3.9", - "mobiledetect/mobiledetectlib": "~4.0", - "jaybizzle/crawler-detect": "~1.2", + "mobiledetect/mobiledetectlib": "^4.0", + "jaybizzle/crawler-detect": "^1.2", "matomo/device-detector": "^6.0" }, "require-dev": { @@ -55,6 +55,6 @@ }, "scripts": { "test-dev": "phpunit", - "test": "phpunit --coverage-clover ./tests/logs/clover.xml" + "test": "phpunit --coverage-clover ./build/logs/clover.xml" } } diff --git a/phpunit.xml b/phpunit.xml index 06e5ba2..706a3eb 100644 --- a/phpunit.xml +++ b/phpunit.xml @@ -1,6 +1,6 @@ - - + + ./tests ./tests/_fixture