From fbe60d3a82438bb96aa2d83481615d486a83fc3f Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 16 Feb 2026 13:49:13 +0000 Subject: [PATCH 1/2] Initial plan From 2b15d6da1ff4f44fe863f1b300f6e146d0030d1d Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 16 Feb 2026 13:52:52 +0000 Subject: [PATCH 2/2] Add cloud testing workflow with updated PROD environment variables Co-authored-by: peter-leonov-ch <209667683+peter-leonov-ch@users.noreply.github.com> --- .github/workflows/run-tests-cloud.yml | 60 +++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 .github/workflows/run-tests-cloud.yml diff --git a/.github/workflows/run-tests-cloud.yml b/.github/workflows/run-tests-cloud.yml new file mode 100644 index 00000000..6c3dd918 --- /dev/null +++ b/.github/workflows/run-tests-cloud.yml @@ -0,0 +1,60 @@ +name: Tests cloud + +permissions: write-all + +on: + push: + branches: + - master + workflow_dispatch: + pull_request: + types: [opened, labeled, synchronize, reopened] + +jobs: + test: + if: github.event_name == 'push' || (github.event_name == 'pull_request' && contains(github.event.pull_request.labels.*.name, 'tests:run-cloud')) + runs-on: ubuntu-24.04 + + env: + BUILD_TYPE: Release + + steps: + - uses: actions/checkout@v4 + with: + fetch-depth: 100 + fetch-tags: true + + - name: Install dependencies + run: | + sudo apt-get update + sudo apt-get install -y \ + cmake \ + gcc \ + g++ + + - name: Configure project + run: | + cmake \ + -D CMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} \ + -D BUILD_TESTS=ON \ + -D WITH_OPENSSL=ON \ + -S ${{github.workspace}} \ + -B ${{github.workspace}}/build + + - name: Build project + run: | + cmake \ + --build ${{github.workspace}}/build \ + --config ${{env.BUILD_TYPE}} \ + --target all + + - name: Test + working-directory: ${{github.workspace}}/build/ut + env: + CLICKHOUSE_USE_DOCKER: false + CLICKHOUSE_USE_SSL: true + CLICKHOUSE_HOST: ${{ secrets.INTEGRATIONS_TEAM_TESTS_CLOUD_HOST_SMT_PROD }} + CLICKHOUSE_PASSWORD: ${{ secrets.INTEGRATIONS_TEAM_TESTS_CLOUD_PASSWORD_SMT_PROD }} + CLICKHOUSE_JWT: ${{ secrets.INTEGRATIONS_TEAM_TESTS_CLOUD_JWT_DESERT_VM_43_PROD }} + TESTCONTAINERS_RYUK_DISABLED: "true" + run: ./clickhouse-cpp-ut