Skip to content

Commit a53c603

Browse files
committed
fix(ci): Use composer run serve instead of php -S
4 workers instead of 1 Signed-off-by: Marcel Klehr <mklehr@gmx.net>
1 parent 942b937 commit a53c603

2 files changed

Lines changed: 6 additions & 3 deletions

File tree

.github/workflows/cluster-faces-test.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -554,7 +554,8 @@ jobs:
554554
mkdir data
555555
./occ maintenance:install --verbose --database=${{ matrix.databases }} --database-name=nextcloud --database-host=127.0.0.1 --database-port=$MYSQL_PORT --database-user=root --database-pass=rootpassword --admin-user admin --admin-pass password
556556
./occ app:enable -vvv -f ${{ env.APP_NAME }}
557-
php -S localhost:8080 &
557+
# 4 workers by default
558+
composer run serve &
558559
559560
- name: Set up Nextcloud and install app
560561
if: ${{ matrix.databases == 'pgsql'}}
@@ -563,7 +564,8 @@ jobs:
563564
mkdir data
564565
./occ maintenance:install --verbose --database=${{ matrix.databases }} --database-name=nextcloud --database-host=127.0.0.1 --database-port=$PGSQL_PORT --database-user=root --database-pass=rootpassword --admin-user admin --admin-pass password
565566
./occ app:enable -vvv -f ${{ env.APP_NAME }}
566-
php -S localhost:8080 &
567+
# 4 workers by default
568+
composer run serve &
567569
568570
- name: Enable app_api
569571
run: ./occ app:enable -vvv -f app_api

.github/workflows/full-run-test.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,8 @@ jobs:
320320
mkdir data
321321
./occ maintenance:install --verbose --database=${{ matrix.databases }} --database-name=nextcloud --database-host=127.0.0.1 --database-port=$MYSQL_PORT --database-user=root --database-pass=rootpassword --admin-user admin --admin-pass password
322322
./occ app:enable -vvv -f ${{ env.APP_NAME }}
323-
php -S localhost:8080 &
323+
# 4 workers by default
324+
composer run serve &
324325
325326
- name: Checkout app_api
326327
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2

0 commit comments

Comments
 (0)