Skip to content

Commit 098eb24

Browse files
committed
chore: add php 8.5 to tests
1 parent 346f58b commit 098eb24

3 files changed

Lines changed: 12 additions & 6 deletions

File tree

.github/workflows/test.yml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,13 @@ concurrency:
88
cancel-in-progress: true
99

1010
on:
11-
push:
12-
paths-ignore:
13-
- '**.md'
1411
pull_request:
1512
paths-ignore:
1613
- '**.md'
14+
types:
15+
- opened
16+
- synchronize
17+
- reopened
1718

1819
jobs:
1920
test:
@@ -26,6 +27,7 @@ jobs:
2627
- ubuntu-latest
2728
php-version:
2829
- '8.4'
30+
- '8.5'
2931

3032
steps:
3133
- name: Checkout
@@ -37,8 +39,12 @@ jobs:
3739
- name: Build
3840
run: docker compose build --build-arg PHPVERSION=${{ matrix.php-version }}
3941

42+
- name: Lint
43+
if: matrix.php-version == '8.4'
44+
run: docker compose run lib composer lint
45+
4046
- name: Test
41-
run: docker compose run -e "PHP_CS_FIXER_IGNORE_ENV=True" lib composer ci
47+
run: docker compose run lib composer test
4248

4349
- name: Upload coverage
4450
uses: codecov/codecov-action@v6

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ RUN docker-php-ext-install \
1111
RUN apk add --no-cache \
1212
$PHPIZE_DEPS \
1313
linux-headers \
14-
&& pecl install xdebug-3.4.2 \
14+
&& pecl install xdebug-3.5.1 \
1515
&& docker-php-ext-enable xdebug \
1616
&& rm -rf /tmp/* /var/cache/apk/*
1717

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
"php-cs-fixer fix -vvv"
4242
],
4343
"test": [
44-
"phpunit --colors --coverage-html ./coverage --coverage-clover coverage/clover.xml"
44+
"phpunit --colors --display-deprecation --coverage-html ./coverage --coverage-clover coverage/clover.xml"
4545
]
4646
}
4747
}

0 commit comments

Comments
 (0)