Skip to content

Commit

Permalink
[TASK] Detach Coveralls dependency
Browse files Browse the repository at this point in the history
Load Coveralls only in CI context
  • Loading branch information
NamelessCoder committed Jan 24, 2025
1 parent 149bda6 commit 09a9bda
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,9 @@ jobs:
run: vendor/bin/phpunit --coverage-clover=build/logs/clover.xml

- name: Upload test coverage
run: vendor/bin/php-coveralls -vvv
run: |
composer global require php-coveralls/php-coveralls
php-coveralls --coverage_clover=build/logs/clover.xml -v
env:
COVERALLS_PARALLEL: true
COVERALLS_FLAG_NAME: typo3-${{ matrix.typo3 }}-php-${{ matrix.php }}
Expand Down
1 change: 0 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@
"require-dev": {
"phpstan/phpstan": "1.12.1",
"phpunit/phpunit": "^5.7 || ^9.5",
"php-coveralls/php-coveralls": "^2.5",
"squizlabs/php_codesniffer": "^3.7",
"mikey179/vfsstream": "^1.6",
"fluidtypo3/development": "^5"
Expand Down

0 comments on commit 09a9bda

Please sign in to comment.