Skip to content

Commit c035a2b

Browse files
authored
Merge pull request #38 from localgovdrupal/fix/php8.3/37-docker-compose-bug
Use PHP 8.3 container in testing environment
2 parents 8aea249 + 7226b4b commit c035a2b

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/test.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ jobs:
1212
test:
1313
name: Build and test LocalGov Drupal
1414
runs-on: ubuntu-latest
15-
16-
15+
16+
1717
strategy:
1818
fail-fast: false
1919
matrix:
@@ -25,7 +25,7 @@ jobs:
2525
- name: setup PHP
2626
uses: shivammathur/setup-php@v2
2727
with:
28-
php-version: '8.2'
28+
php-version: '8.3'
2929

3030
- uses: actions/checkout@v2
3131

@@ -36,7 +36,7 @@ jobs:
3636
run: jq --raw-output '.packages[] | select(.name | startswith("localgovdrupal/")) | ."require-dev" | values | to_entries[] | @sh "\(.key):\(.value)"' ./html/composer.lock | sort | uniq | xargs composer --working-dir=./html require --dev --no-interaction
3737

3838
- name: Start Docker environment
39-
run: docker-compose up -d
39+
run: docker compose up -d
4040

4141
- name: Run tests
4242
run: ./run-tests.sh

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
services:
55

66
drupal:
7-
image: localgovdrupal/apache-php:php8.2
7+
image: localgovdrupal/apache-php:php8.3
88
container_name: drupal
99
depends_on:
1010
database:

0 commit comments

Comments
 (0)