Skip to content

Commit 5029962

Browse files
committed
fix(workflows): Make install work with php-scoper
Signed-off-by: Marcel Klehr <[email protected]>
1 parent 0e2a736 commit 5029962

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

.github/workflows/appstore-build-publish.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ jobs:
8383
if: steps.check_composer.outputs.files_exists == 'true'
8484
run: |
8585
cd ${{ env.APP_NAME }}
86+
composer install --no-dev # twice because of php-scoper
8687
composer install --no-dev
8788
8889
- name: Build ${{ env.APP_NAME }}

.github/workflows/phpunit.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,9 @@ jobs:
6161

6262
- name: Set up PHPUnit
6363
working-directory: apps/${{ env.APP_NAME }}
64-
run: composer i
64+
run: |
65+
composer i # twice because of php-scoper
66+
composer i
6567
6668
- name: Set up Nextcloud
6769
run: |

.github/workflows/psalm.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,9 @@ jobs:
5151
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5252

5353
- name: Install dependencies
54-
run: composer i
54+
run: |
55+
composer i # twice because of php-scoper
56+
composer i
5557
5658
- name: Run coding standards check
5759
run: composer run psalm

0 commit comments

Comments
 (0)