Skip to content
Merged
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
15 changes: 13 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ jobs:
- ubuntu-20.04
- windows-2019
php:
- 8.1
- 8.0
- 7.4
- 7.3
Expand All @@ -37,6 +38,7 @@ jobs:
strategy:
matrix:
php:
- 8.1
- 8.0
- 7.4
- 7.3
Expand All @@ -54,10 +56,11 @@ jobs:

nginx-webserver:
name: nginx + PHP-FPM (PHP ${{ matrix.php }})
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
strategy:
matrix:
php:
- 8.1
- 8.0
- 7.4
- 7.3
Expand All @@ -70,16 +73,20 @@ jobs:
php-version: ${{ matrix.php }}
- run: composer install --no-dev
- run: docker run -d -v "$PWD":/home/framework-x php:${{ matrix.php }}-fpm
if: ${{ matrix.php != 8.1 }}
- run: docker run -d -v "$PWD":/home/framework-x php:8.1.0RC6-fpm
if: ${{ matrix.php == 8.1 }}
- run: docker run -d -p 80:80 --link $(docker ps -qn1):php -v "$PWD":/home/framework-x -v "$PWD"/examples/nginx/nginx.conf:/etc/nginx/conf.d/default.conf nginx:stable-alpine
- run: bash tests/await.sh http://localhost
- run: bash tests/acceptance.sh http://localhost

Apache-webserver:
name: Apache webserver (PHP ${{ matrix.php }})
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
strategy:
matrix:
php:
- 8.1
- 8.0
- 7.4
- 7.3
Expand All @@ -92,6 +99,9 @@ jobs:
php-version: ${{ matrix.php }}
- run: composer install --no-dev
- run: docker run -d -p 80:80 -v "$PWD":/home/framework-x php:${{ matrix.php }}-apache sh -c "rmdir /var/www/html;ln -s /home/framework-x/examples/apache /var/www/html;ln -s /etc/apache2/mods-available/rewrite.load /etc/apache2/mods-enabled; apache2-foreground"
if: ${{ matrix.php != 8.1 }}
- run: docker run -d -p 80:80 -v "$PWD":/home/framework-x php:8.1.0RC6-apache sh -c "rmdir /var/www/html;ln -s /home/framework-x/examples/apache /var/www/html;ln -s /etc/apache2/mods-available/rewrite.load /etc/apache2/mods-enabled; apache2-foreground"
if: ${{ matrix.php == 8.1 }}
- run: bash tests/await.sh http://localhost
- run: bash tests/acceptance.sh http://localhost

Expand All @@ -101,6 +111,7 @@ jobs:
strategy:
matrix:
php:
- 8.1
- 8.0
- 7.4
- 7.3
Expand Down