Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 10 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -26,6 +27,7 @@ jobs:
- ubuntu-latest
php-version:
- '8.4'
- '8.5'

steps:
- name: Checkout
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,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/*

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,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"
]
}
}