Skip to content

Commit

Permalink
Test Roundcubemail as root project install
Browse files Browse the repository at this point in the history
  • Loading branch information
mvorisek committed Apr 21, 2024
1 parent 1db0481 commit 3f260e1
Showing 1 changed file with 16 additions and 4 deletions.
20 changes: 16 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,13 +93,25 @@ jobs:
- name: Set COMPOSER_ROOT_VERSION
run: echo "COMPOSER_ROOT_VERSION=0.3.99" >> $GITHUB_ENV

- name: Test - install plugin
- name: Test Roundcubemail as dependency - install plugin
run: |
cd test-composer
composer install -v --prefer-dist --no-interaction --no-progress
- name: Test - verify install
- name: Test Roundcubemail as dependency - verify install
run: |
cd test-composer
ls -lah vendor/roundcube/roundcubemail/plugins/carddav
ls -lah vendor/roundcube/roundcubemail/plugins/carddav/config.inc.php
ls -lah vendor/roundcube/roundcubemail/plugins/carddav/config.*
if [ ! -f vendor/roundcube/roundcubemail/plugins/carddav/config.inc.php ]; then echo 'Config file was not created' && exit 1; fi
- name: Test Roundcubemail as root project - install plugin
run: |
cd test-composer/vendor/roundcube/roundcubemail
ls -lah plugins/acl/config.*
composer install -v --prefer-dist --no-interaction --no-progress
- name: Test Roundcubemail as root project - verify install
run: |
cd test-composer/vendor/roundcube/roundcubemail
ls -lah plugins/acl/config.*
if [ ! -f plugins/acl/config.inc.php ]; then echo 'Config file was not created' && exit 1; fi

0 comments on commit 3f260e1

Please sign in to comment.