Skip to content

Commit

Permalink
Merge pull request #52 from mvorisek/test_root_install
Browse files Browse the repository at this point in the history
Test Roundcubemail as root project install
  • Loading branch information
alecpl authored Apr 22, 2024
2 parents 5916d6e + 7be93c3 commit 2adeb2a
Showing 1 changed file with 18 additions and 5 deletions.
23 changes: 18 additions & 5 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 --prefer-dist --no-interaction --no-progress
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 2adeb2a

Please sign in to comment.