diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 523fa88..90b4473 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -8,12 +8,13 @@ concurrency: cancel-in-progress: true on: - push: - paths-ignore: - - '**.md' pull_request: paths-ignore: - '**.md' + types: + - opened + - synchronize + - reopened jobs: test: @@ -26,6 +27,7 @@ jobs: - ubuntu-latest php-version: - '8.4' + - '8.5' steps: - name: Checkout @@ -37,8 +39,12 @@ jobs: - name: Build run: docker compose build --build-arg PHPVERSION=${{ matrix.php-version }} + - name: Lint + if: matrix.php-version == '8.4' + run: docker compose run lib composer lint + - name: Test - run: docker compose run -e "PHP_CS_FIXER_IGNORE_ENV=True" lib composer ci + run: docker compose run lib composer test - name: Upload coverage uses: codecov/codecov-action@v6 diff --git a/Dockerfile b/Dockerfile index d28c7c6..0df38dd 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,7 +11,7 @@ RUN docker-php-ext-install \ RUN apk add --no-cache \ $PHPIZE_DEPS \ linux-headers \ - && pecl install xdebug-3.4.2 \ + && pecl install xdebug-3.5.1 \ && docker-php-ext-enable xdebug \ && rm -rf /tmp/* /var/cache/apk/* diff --git a/composer.json b/composer.json index e51cce5..a6a8cf0 100644 --- a/composer.json +++ b/composer.json @@ -41,7 +41,7 @@ "php-cs-fixer fix -vvv" ], "test": [ - "phpunit --colors --coverage-html ./coverage --coverage-clover coverage/clover.xml" + "phpunit --colors --display-all-issues --coverage-html ./coverage --coverage-clover coverage/clover.xml" ] } } diff --git a/composer.lock b/composer.lock index 7b0a8d2..77c50d6 100644 --- a/composer.lock +++ b/composer.lock @@ -1517,16 +1517,16 @@ }, { "name": "rancoud/database", - "version": "7.0.1", + "version": "7.0.2", "source": { "type": "git", "url": "https://github.com/rancoud/Database.git", - "reference": "13954b99d25834cd1dd34a6f4a95c1692e359a18" + "reference": "4ac7ba682256798b6a0a7f236d0517f4a61836ba" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/rancoud/Database/zipball/13954b99d25834cd1dd34a6f4a95c1692e359a18", - "reference": "13954b99d25834cd1dd34a6f4a95c1692e359a18", + "url": "https://api.github.com/repos/rancoud/Database/zipball/4ac7ba682256798b6a0a7f236d0517f4a61836ba", + "reference": "4ac7ba682256798b6a0a7f236d0517f4a61836ba", "shasum": "" }, "require": { @@ -1561,9 +1561,9 @@ "description": "Database package", "support": { "issues": "https://github.com/rancoud/Database/issues", - "source": "https://github.com/rancoud/Database/tree/7.0.1" + "source": "https://github.com/rancoud/Database/tree/7.0.2" }, - "time": "2026-03-15T11:54:21+00:00" + "time": "2026-05-31T17:54:16+00:00" }, { "name": "react/cache",