Skip to content

Commit

Permalink
resolve pipeline issues
Browse files Browse the repository at this point in the history
  • Loading branch information
pataar committed Jan 27, 2025
1 parent 11c8a6e commit 8dcf4c7
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,4 +61,4 @@ jobs:
- name: Coveralls
env:
COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: php vendor/bin/php-coveralls -v
run: php vendor/bin/php-coveralls -v --coverage_clover=build/logs/clover.xml
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,5 @@ demo/cache
.coveralls.yml export-ignore
phpstan.neon export-ignore
phpunit.xml export-ignore
composer.lock
composer.lock
build/
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down Expand Up @@ -55,6 +55,6 @@
},
"scripts": {
"test-dev": "phpunit",
"test": "phpunit --coverage-clover ./tests/logs/clover.xml"
"test": "phpunit --coverage-clover ./build/logs/clover.xml"
}
}
4 changes: 2 additions & 2 deletions phpunit.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" backupGlobals="false" bootstrap="./vendor/autoload.php" colors="true" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.3/phpunit.xsd" cacheDirectory=".phpunit.cache">
<coverage includeUncoveredFiles="true"/>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" backupGlobals="false" bootstrap="./vendor/autoload.php" colors="true" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/11.5/phpunit.xsd" cacheDirectory=".phpunit.cache">
<coverage/>
<testsuite name="Browser Detect PHPUnit Tests">
<directory suffix="Test.php">./tests</directory>
<exclude>./tests/_fixture</exclude>
Expand Down

0 comments on commit 8dcf4c7

Please sign in to comment.