Revert "build: add migration verifications to tests"

This reverts commit 785aad5da7.
This commit is contained in:
2025-11-29 10:06:49 +02:00
parent 17af5fd29e
commit cb4168fcfb
2 changed files with 0 additions and 26 deletions

View File

@@ -158,19 +158,6 @@ jobs:
./occ maintenance:install --verbose --database=pgsql --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 app:enable --force ${{ env.APP_NAME }}
- name: Verify migrations completed
run: |
echo "Checking migration status for ${{ env.APP_NAME }}..."
# Get migration status and check for any pending migrations
PENDING=$(./occ migrations:status ${{ env.APP_NAME }} | grep -E "^\s+>>" | grep -v "migrated" || true)
if [ -n "$PENDING" ]; then
echo "::error::Found pending migrations:"
echo "$PENDING"
exit 1
fi
echo "All migrations completed successfully"
./occ migrations:status ${{ env.APP_NAME }}
- name: Check PHPUnit script is defined
id: check_phpunit
continue-on-error: true