Skip to content

Commit 1f8eca8

Browse files
committed
wip
1 parent d810ec3 commit 1f8eca8

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

.github/workflows/tests.yml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -33,14 +33,6 @@ jobs:
3333
--health-interval=10s
3434
--health-timeout=5s
3535
--health-retries=5
36-
web:
37-
image: dunglas/frankenphp:1.9-php${{ matrix.php }}
38-
ports: [ 8100:8100 ]
39-
env:
40-
SERVER_ROOT: /var/www/html
41-
SERVER_NAME: http://0.0.0.0:8100
42-
volumes:
43-
- ${{ github.workspace }}/wordpress:/var/www/html
4436
4537
env:
4638
WP_VERSION: ${{ matrix.wordpress }}
@@ -76,6 +68,15 @@ jobs:
7668
tar -xzf wordpress-${WP_VERSION}.tar.gz
7769
rm wordpress-${WP_VERSION}.tar.gz
7870
71+
- name: Start FrankenPHP server
72+
run: |
73+
docker run -d \
74+
--name frankenphp \
75+
-p 8100:8100 \
76+
-v $GITHUB_WORKSPACE/wordpress:/var/www/html \
77+
-v $GITHUB_WORKSPACE/Caddyfile:/etc/frankenphp/Caddyfile \
78+
dunglas/frankenphp:1.9-php${{ matrix.php }}
79+
7980
- name: Install WordPress
8081
run: |
8182
rm -f wordpress/wp-config.php

0 commit comments

Comments
 (0)