Skip to content

Commit 2adeb2a

Browse files
authored
Merge pull request #52 from mvorisek/test_root_install
Test Roundcubemail as root project install
2 parents 5916d6e + 7be93c3 commit 2adeb2a

File tree

1 file changed

+18
-5
lines changed

1 file changed

+18
-5
lines changed

.github/workflows/ci.yml

+18-5
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
99-
composer install --prefer-dist --no-interaction --no-progress
99+
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)