From f9876aba8ff2e4ff45f327bcb570b7b207c236ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matej=20Ba=C4=8Do?= Date: Thu, 23 Jul 2026 16:39:46 +0200 Subject: [PATCH] rename tests for better categorization --- .env | 3 +-- .github/workflows/ci.yml | 5 +++-- .../{VCS/VCSBase.php => VCSGitHub/VCSGitHubBase.php} | 4 ++-- .../VCSGitHubConsoleClientTest.php} | 6 +++--- .../VCSGitHubCustomClientTest.php} | 6 +++--- .../VCSGitHubCustomServerTest.php} | 6 +++--- 6 files changed, 15 insertions(+), 15 deletions(-) rename tests/e2e/Services/{VCS/VCSBase.php => VCSGitHub/VCSGitHubBase.php} (81%) rename tests/e2e/Services/{VCS/VCSConsoleClientTest.php => VCSGitHub/VCSGitHubConsoleClientTest.php} (99%) rename tests/e2e/Services/{VCS/VCSCustomClientTest.php => VCSGitHub/VCSGitHubCustomClientTest.php} (83%) rename tests/e2e/Services/{VCS/VCSCustomServerTest.php => VCSGitHub/VCSGitHubCustomServerTest.php} (85%) diff --git a/.env b/.env index f060ec0714..dc5459551b 100644 --- a/.env +++ b/.env @@ -160,9 +160,8 @@ _APP_VCS_GITEA_BROWSER_ENDPOINT=http://localhost:9515 _APP_VCS_GITEA_CLIENT_ID= _APP_VCS_GITEA_CLIENT_SECRET= _APP_VCS_GITEA_WEBHOOK_SECRET=gitea-webhook-secret -_APP_VCS_WEBHOOK_URL=http://appwrite/v1 _APP_VCS_GITLAB_CLIENT_ID= _APP_VCS_GITLAB_CLIENT_SECRET= _APP_VCS_GITLAB_WEBHOOK_SECRET= -_APP_VCS_WEBHOOK_URL= +_APP_VCS_WEBHOOK_URL=http://appwrite/v1 _APP_WEBHOOK_MAX_FAILED_ATTEMPTS=10 diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3b9060a080..f72d0d9107 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -214,7 +214,8 @@ jobs: { name: 'Users', runner: runner4, functional: true, processes: null }, { name: 'ProjectWebhooks', runner: runner4, functional: false, processes: null }, { name: 'Webhooks', runner: runner4, functional: true, processes: null }, - { name: 'VCS', runner: runner4, functional: true, processes: null }, + { name: 'VCSGitHub', runner: runner4, functional: true, processes: null }, + { name: 'VCSGitea', runner: runner4, functional: true, processes: null }, { name: 'Messaging', runner: runner4, functional: true, processes: null }, { name: 'Notifications', runner: runner4, functional: true, processes: null }, { name: 'Migrations', runner: runner4, functional: true, processes: 1 }, @@ -452,7 +453,7 @@ jobs: fi # Gitea runs alongside Appwrite only where VCS tests need it. - if [ "${{ matrix.service.name }}" = "VCS" ]; then + if [ "${{ matrix.service.name }}" = "VCSGitea" ]; then COMPOSE_PROFILES="${COMPOSE_PROFILES},gitea" fi diff --git a/tests/e2e/Services/VCS/VCSBase.php b/tests/e2e/Services/VCSGitHub/VCSGitHubBase.php similarity index 81% rename from tests/e2e/Services/VCS/VCSBase.php rename to tests/e2e/Services/VCSGitHub/VCSGitHubBase.php index a65ebcd1d3..f485c96980 100644 --- a/tests/e2e/Services/VCS/VCSBase.php +++ b/tests/e2e/Services/VCSGitHub/VCSGitHubBase.php @@ -1,10 +1,10 @@