Skip to content

Commit 0c3f54c

Browse files
committed
enable apps
Signed-off-by: nabim777 <nabinalemagar019@gmail.com>
1 parent df76c6c commit 0c3f54c

1 file changed

Lines changed: 10 additions & 2 deletions

File tree

.github/workflows/shared_workflow.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -221,8 +221,16 @@ jobs:
221221
- name: Prepare Nextcloud server (for phpunit and psalm)
222222
run: server/occ maintenance:install --admin-pass=admin
223223

224-
- name: Install PHP dependencies
225-
run: composer install --no-progress --prefer-dist --optimize-autoloader
224+
- name: Install PHP dependencies and enable integration_openproject app (for phpunit and psalm)
225+
run: |
226+
composer install --no-progress --prefer-dist --optimize-autoloader
227+
cd server
228+
if [ "${{matrix.nextcloudVersion}}" == "master" ]; then
229+
# enable app even if it is not compatible with the master branch
230+
./occ a:e -f integration_openproject
231+
else
232+
./occ a:e integration_openproject
233+
fi
226234
227235
- name: PHP code analysis and linting
228236
run: |

0 commit comments

Comments
 (0)