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 7be93c3
Showing 1 changed file with 17 additions and 4 deletions.
21 changes: 17 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,13 +93,26 @@ 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.*
if [ -f plugins/acl/config.inc.php ]; then echo 'Config file is not expected' && exit 1; fi
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 7be93c3

Please sign in to comment.