From 1ecdefd0e671a41e3adfd68de73385976ea8a75b Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Thu, 26 Oct 2023 23:24:44 +0200 Subject: [PATCH] fix: Video verification test by cloning talk Signed-off-by: Joas Schilling --- .github/workflows/integration-sqlite.yml | 43 ++++++++---------------- 1 file changed, 14 insertions(+), 29 deletions(-) diff --git a/.github/workflows/integration-sqlite.yml b/.github/workflows/integration-sqlite.yml index cc24de3a11c..596906f6fa5 100644 --- a/.github/workflows/integration-sqlite.yml +++ b/.github/workflows/integration-sqlite.yml @@ -68,13 +68,10 @@ jobs: - 'setup_features' - 'sharees_features' - 'sharing_features' - #- 'videoverification_features' + - 'videoverification_features' php-versions: ['8.2'] -# server-versions: ['master'] -# guests-versions: ['master'] -# call-summary-bot-versions: ['main'] -# notifications-versions: ['master'] + spreed-versions: ['main'] steps: - name: Checkout server @@ -82,26 +79,13 @@ jobs: with: submodules: true -# - name: Checkout call_summary_bot app -# uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2 -# with: -# repository: nextcloud/call_summary_bot -# path: apps/call_summary_bot -# ref: ${{ matrix.call-summary-bot-versions }} -# -# - name: Checkout guests app -# uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2 -# with: -# repository: nextcloud/guests -# path: apps/guests -# ref: ${{ matrix.guests-versions }} -# -# - name: Checkout notifications app -# uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2 -# with: -# repository: nextcloud/notifications -# path: apps/notifications -# ref: ${{ matrix.notifications-versions }} + - name: Checkout Talk app + if: ${{ matrix.test-suite == 'videoverification_features' }} + uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2 + with: + repository: nextcloud/spreed + path: apps/spreed + ref: ${{ matrix.spreed-versions }} - name: Set up php ${{ matrix.php-versions }} uses: shivammathur/setup-php@c5fc0d8281aba02c7fda07d3a70cc5371548067d # v2 @@ -121,6 +105,11 @@ jobs: working-directory: build/integration run: composer i + - name: Set up Talk dependencies + if: ${{ matrix.test-suite == 'videoverification_features' }} + working-directory: apps/spreed + run: composer i --no-dev + - name: Set up Nextcloud env: DB_PORT: 4444 @@ -128,10 +117,6 @@ jobs: mkdir data ./occ maintenance:install --verbose --database=sqlite --database-name=nextcloud --database-host=127.0.0.1 --database-port=$DB_PORT --database-user=root --database-pass=rootpassword --admin-user admin --admin-pass admin ./occ config:system:set hashing_default_password --value=true --type=boolean -# ./occ app:enable --force ${{ env.APP_NAME }} -# ./occ app:enable --force call_summary_bot -# ./occ app:enable --force guests -# ./occ app:enable --force notifications - name: Run integration working-directory: build/integration -- 2.39.5