Skip to content

Commit 7be93c3

Browse files
committed
Test Roundcubemail as root project install
1 parent 1db0481 commit 7be93c3

1 file changed

Lines changed: 17 additions & 4 deletions

File tree

.github/workflows/ci.yml

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -93,13 +93,26 @@ jobs:
9393
- name: Set COMPOSER_ROOT_VERSION
9494
run: echo "COMPOSER_ROOT_VERSION=0.3.99" >> $GITHUB_ENV
9595

96-
- name: Test - install plugin
96+
- name: Test Roundcubemail as dependency - install plugin
9797
run: |
9898
cd test-composer
9999
composer install -v --prefer-dist --no-interaction --no-progress
100100
101-
- name: Test - verify install
101+
- name: Test Roundcubemail as dependency - verify install
102102
run: |
103103
cd test-composer
104-
ls -lah vendor/roundcube/roundcubemail/plugins/carddav
105-
ls -lah vendor/roundcube/roundcubemail/plugins/carddav/config.inc.php
104+
ls -lah vendor/roundcube/roundcubemail/plugins/carddav/config.*
105+
if [ ! -f vendor/roundcube/roundcubemail/plugins/carddav/config.inc.php ]; then echo 'Config file was not created' && exit 1; fi
106+
107+
- name: Test Roundcubemail as root project - install plugin
108+
run: |
109+
cd test-composer/vendor/roundcube/roundcubemail
110+
ls -lah plugins/acl/config.*
111+
if [ -f plugins/acl/config.inc.php ]; then echo 'Config file is not expected' && exit 1; fi
112+
composer install -v --prefer-dist --no-interaction --no-progress
113+
114+
- name: Test Roundcubemail as root project - verify install
115+
run: |
116+
cd test-composer/vendor/roundcube/roundcubemail
117+
ls -lah plugins/acl/config.*
118+
if [ ! -f plugins/acl/config.inc.php ]; then echo 'Config file was not created' && exit 1; fi

0 commit comments

Comments
 (0)