diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index cdca0c074..b0ba598ff 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -8,7 +8,7 @@ jobs: strategy: matrix: os: [ubuntu-latest, windows-latest] - php: ['8.2', '8.3', '8.4', '8.5'] + php: ['8.2', '8.3', '8.4', '8.5', '8.6'] fail-fast: false @@ -33,7 +33,6 @@ jobs: code_coverage: name: Code Coverage runs-on: ubuntu-latest - continue-on-error: true steps: - uses: actions/checkout@v6 - uses: shivammathur/setup-php@v2 @@ -44,7 +43,8 @@ jobs: - run: composer install --no-progress --prefer-dist - run: composer tester -- -p phpdbg --coverage ./coverage.xml --coverage-src ./src - - run: wget https://github.com/php-coveralls/php-coveralls/releases/download/v2.4.3/php-coveralls.phar - - env: - COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: php php-coveralls.phar --verbose --config tests/.coveralls.yml + continue-on-error: true + - uses: coverallsapp/github-action@v2 + with: + file: coverage.xml + format: clover diff --git a/AGENTS.md b/AGENTS.md index f37d41698..ff0d42471 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -20,7 +20,7 @@ Nette Utils is a standalone PHP utility library: strings, arrays/iterables, HTML generation, images, JSON, validation, filesystem, file search, and process execution. -- **PHP Version**: 8.2 - 8.5 +- **PHP Version**: 8.2 - 8.6 - **Package**: `nette/utils` ## Essential Commands diff --git a/composer.json b/composer.json index 7014841ff..b881ec68a 100644 --- a/composer.json +++ b/composer.json @@ -15,7 +15,7 @@ } ], "require": { - "php": "8.2 - 8.5" + "php": "8.2 - 8.6" }, "require-dev": { "nette/tester": "^2.5", diff --git a/readme.md b/readme.md index 8c717be42..f34633e12 100644 --- a/readme.md +++ b/readme.md @@ -41,7 +41,7 @@ The recommended way to install is via Composer: composer require nette/utils ``` -Nette Utils 4.1 is compatible with PHP 8.2 to 8.5. +Nette Utils 4.1 is compatible with PHP 8.2 to 8.6.   diff --git a/tests/.coveralls.yml b/tests/.coveralls.yml deleted file mode 100644 index 845038250..000000000 --- a/tests/.coveralls.yml +++ /dev/null @@ -1,4 +0,0 @@ -# for php-coveralls -service_name: github-actions -coverage_clover: coverage.xml -json_path: coverage.json