Skip to content

Commit def1c15

Browse files
committed
Update workflows to use docker compose and PHP 8.4
Replaced `docker-compose` with `docker compose` across workflows for consistency with the latest Docker CLI. Updated PHP version to 8.4 in relevant steps.
1 parent 808e2c2 commit def1c15

File tree

2 files changed

+14
-14
lines changed

2 files changed

+14
-14
lines changed

.github/workflows/testLinks.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,16 @@ jobs:
1313
uses: actions/checkout@v4
1414

1515
- name: Composer Install
16-
run: docker-compose -f docker-compose.yml run test_runner composer install
16+
run: docker compose -f docker-compose.yml run test_runner composer install
1717
env:
18-
PHP_VERSION: '8.0'
18+
PHP_VERSION: '8.4'
1919

2020
- name: Build Docker Container
21-
run: docker-compose -f docker-compose.yml build >/dev/null
21+
run: docker compose -f docker-compose.yml build >/dev/null
2222
env:
23-
PHP_VERSION: '8.0'
23+
PHP_VERSION: '8.4'
2424

2525
- name: Run Tests
26-
run: docker-compose -f docker-compose.yml run -e CHECK_LINKS=true test_runner vendor/bin/phpunit --testsuite PhpDoc
26+
run: docker compose -f docker-compose.yml run -e CHECK_LINKS=true test_runner vendor/bin/phpunit --testsuite PhpDoc
2727
env:
28-
PHP_VERSION: '8.0'
28+
PHP_VERSION: '8.4'

.github/workflows/testPeclExtensions.yml

+8-8
Original file line numberDiff line numberDiff line change
@@ -13,23 +13,23 @@ jobs:
1313
uses: actions/checkout@v4
1414

1515
- name: Build Docker Container
16-
run: docker-compose -f docker-compose.yml build >/dev/null
16+
run: docker compose -f docker-compose.yml build >/dev/null
1717
env:
18-
PHP_VERSION: '8.0'
18+
PHP_VERSION: '8.4'
1919

2020
- name: Composer Install
21-
run: docker-compose -f docker-compose.yml run test_runner composer install
21+
run: docker compose -f docker-compose.yml run test_runner composer install
2222

2323
- name: Dump Reflection With Pecl To File
24-
run: docker-compose -f docker-compose.yml run pecl_extensions /usr/local/bin/php tests/Tools/dump-reflection-to-file.php ReflectionDataPecl.json
24+
run: docker compose -f docker-compose.yml run pecl_extensions /usr/local/bin/php tests/Tools/dump-reflection-to-file.php ReflectionDataPecl.json
2525

2626
- name: Dump Reflection Without Pecl To File
27-
run: docker-compose -f docker-compose.yml run php_under_test /usr/local/bin/php tests/Tools/dump-reflection-to-file.php ReflectionData.json
27+
run: docker compose -f docker-compose.yml run php_under_test /usr/local/bin/php tests/Tools/dump-reflection-to-file.php ReflectionData.json
2828

2929
- name: Build Reflection Data With Pecl Only
30-
run: docker-compose -f docker-compose.yml run php_under_test /usr/local/bin/php tests/Tools/dump-pecl-to-file.php
30+
run: docker compose -f docker-compose.yml run php_under_test /usr/local/bin/php tests/Tools/dump-pecl-to-file.php
3131

3232
- name: Run Tests
33-
run: docker-compose -f docker-compose.yml run -e PHP_VERSION='8.0' test_runner vendor/bin/phpunit tests/
33+
run: docker compose -f docker-compose.yml run -e PHP_VERSION='8.4' test_runner vendor/bin/phpunit tests/
3434
env:
35-
PHP_VERSION: '8.0'
35+
PHP_VERSION: '8.4'

0 commit comments

Comments
 (0)