Skip to content

Commit

Permalink
#116: Scale tests back up
Browse files Browse the repository at this point in the history
  • Loading branch information
pirog committed Oct 29, 2021
1 parent be964b9 commit acb6005
Show file tree
Hide file tree
Showing 8 changed files with 31 additions and 16 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/pr-php-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ jobs:
- examples/php-7.4
- examples/php-7.3
- examples/php-7.2
# - examples/php-7.1
# - examples/php-7.0
# - examples/php-5.6
# - examples/php-5.5
# - examples/php-5.4
- examples/php-7.1
- examples/php-7.0
- examples/php-5.6
- examples/php-5.5
- examples/php-5.4
lando-versions:
- edge
os:
Expand Down
2 changes: 1 addition & 1 deletion examples/php-5.4/advanced/.platform.app.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ web:
root: "."
passthru: "/index.php"
commands:
start: /usr/sbin/php-fpm5.4-zts
start: /usr/sbin/php5-fpm
2 changes: 1 addition & 1 deletion examples/php-5.5/advanced/.platform.app.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ web:
root: "."
passthru: "/index.php"
commands:
start: /usr/sbin/php-fpm5.5-zts
start: /usr/sbin/php5-fpm
2 changes: 1 addition & 1 deletion examples/php-5.6/advanced/.platform.app.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ web:
root: "."
passthru: "/index.php"
commands:
start: /usr/sbin/php-fpm5.6-zts
start: /usr/sbin/php5-fpm
2 changes: 1 addition & 1 deletion examples/php-7.0/advanced/.platform.app.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ web:
root: "."
passthru: "/index.php"
commands:
start: /usr/sbin/php-fpm7.0-zts
start: /usr/sbin/php-fpm7.0
19 changes: 17 additions & 2 deletions examples/php-7.4/.platform.app.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,22 @@
name: vanilla
name: advanced
type: "php:7.4"
runtime:
extensions:
- redis
dependencies:
php:
"platformsh/client": "2.x-dev"
"composer/composer": "^2"
build:
flavor: none
flavor: composer
hooks:
build: |
set -e
touch /tmp/build
deploy: |
set -e
touch /tmp/deploy
web:
locations:
"/":
Expand Down
6 changes: 3 additions & 3 deletions examples/php-7.4/.platform/routes.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
# Each route describes how an incoming URL is going
# to be processed by Platform.sh.

"https://vanilla.{default}/":
type: upstream
upstream: "vanilla:http"
# "https://vanilla.{default}/":
# type: upstream
# upstream: "vanilla:http"

"https://advanced.{default}/":
type: upstream
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,5 @@ web:
"/":
root: "."
passthru: "/index.php"
# commands:
# start: /usr/sbin/php-fpm7.4-zts
commands:
start: /usr/sbin/php-fpm7.4-zts

0 comments on commit acb6005

Please sign in to comment.