mirror of https://github.com/nextcloud/bookmarks
CI: Fix floccus tests
This commit is contained in:
parent
afbc3a9d6e
commit
2f70eece2e
|
@ -71,7 +71,7 @@ jobs:
|
|||
MYSQL_HOST: mysql
|
||||
NEXTCLOUD_TRUSTED_DOMAINS: nextcloud
|
||||
volumes:
|
||||
- apps:/home/runner/work/floccus/floccus/apps
|
||||
- /home/runner/work/bookmarks/bookmarks/apps:/var/www/html/custom_apps
|
||||
options: --name nextcloud
|
||||
mysql:
|
||||
image: mariadb:latest
|
||||
|
@ -89,18 +89,31 @@ jobs:
|
|||
- name: Checkout bookmarks app
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
path: apps/${{ env.APP_NAME }}
|
||||
path: ${{ env.APP_NAME }}
|
||||
if: matrix.floccus-adapter == 'nextcloud-folders'
|
||||
|
||||
- name: Enable bookmarks app
|
||||
shell: bash
|
||||
run: |
|
||||
cd ${{ env.APP_NAME }}
|
||||
composer install
|
||||
if: matrix.floccus-adapter == 'nextcloud-folders'
|
||||
|
||||
- name: Enable bookmarks app
|
||||
shell: bash
|
||||
run: |
|
||||
sudo cp -R ${{ env.APP_NAME }} apps/
|
||||
NEXT_WAIT_TIME=0
|
||||
until [ $NEXT_WAIT_TIME -eq 25 ] || docker exec --user www-data nextcloud php occ app:enable ${{ env.APP_NAME }}; do
|
||||
sleep $(( NEXT_WAIT_TIME++ ))
|
||||
done
|
||||
[ $NEXT_WAIT_TIME -lt 25 ]
|
||||
if: matrix.floccus-adapter != 'fake'
|
||||
if: matrix.floccus-adapter == 'nextcloud-folders'
|
||||
|
||||
- name: List apps
|
||||
shell: bash
|
||||
run: |
|
||||
docker exec --user www-data nextcloud php occ app:list
|
||||
|
||||
- name: Enable APCu
|
||||
run: |
|
||||
|
|
|
@ -17,7 +17,7 @@ Requirements:
|
|||
- mbstring: *
|
||||
- Nextcloud v17+
|
||||
]]></description>
|
||||
<version>3.2.4</version>
|
||||
<version>3.2.5</version>
|
||||
<licence>agpl</licence>
|
||||
<author mail="blizzz@arthur-schiwon.de" homepage="https://www.arthur-schiwon.de">Arthur Schiwon</author>
|
||||
<author mail="mklehr@gmx.net">Marcel Klehr</author>
|
||||
|
|
Loading…
Reference in New Issue