From 795eb1568d02a6373c66baddef2ab96787aa5280 Mon Sep 17 00:00:00 2001 From: Mwest2020 Date: Mon, 5 Aug 2024 14:50:42 +0200 Subject: [PATCH] added composer install --- .github/workflows/CI-workflows.yaml | 3 +++ tests/bootstrap.php | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/CI-workflows.yaml b/.github/workflows/CI-workflows.yaml index 8f9046a0..7aa21df0 100644 --- a/.github/workflows/CI-workflows.yaml +++ b/.github/workflows/CI-workflows.yaml @@ -16,6 +16,9 @@ jobs: extensions: mbstring, zip, xml, curl, intl, sqlite, gd, pdo_mysql tools: cs2pr, phpcbf, phpcs, phpmd, phpunit + - name: Install Composer + run: composer install + - name: Run phpcbf run: phpcbf . continue-on-error: ${{ github.ref != 'refs/heads/main' }} diff --git a/tests/bootstrap.php b/tests/bootstrap.php index 3a78f87d..27a1828a 100644 --- a/tests/bootstrap.php +++ b/tests/bootstrap.php @@ -2,7 +2,7 @@ declare(strict_types=1); -require_once __DIR__ . '/../vendor/autoload.php'; +// require_once __DIR__ . '/../vendor/autoload.php'; \OC_App::loadApp(OCA\OpenCatalogi\AppInfo\Application::APP_ID); OC_Hook::clear();