Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
55 changes: 55 additions & 0 deletions .github/workflows/run-tests-cloud.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
name: Cloud tests

on:
push:
branches:
- main
pull_request:
workflow_dispatch:

jobs:
run:
runs-on: ubuntu-latest
permissions:
contents: read
strategy:
fail-fast: true
matrix:
go:
- "oldstable"
- "stable"
steps:
- uses: actions/checkout@v6

- name: Install Go
uses: actions/setup-go@v6
with:
go-version: ${{ matrix.go }}

- name: Get Go environment
id: go-env
run: |
echo "::set-output name=cache::$(go env GOCACHE)"
echo "::set-output name=modcache::$(go env GOMODCACHE)"

- name: Set up cache
uses: actions/cache@v5
with:
path: |
${{ steps.go-env.outputs.cache }}
${{ steps.go-env.outputs.modcache }}
key: cloud-${{ runner.os }}-go${{ matrix.go }}-${{ hashFiles('**/go.sum') }}
restore-keys: |
cloud-${{ runner.os }}-go${{ matrix.go }}-

- name: Run tests
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"
GOTOOLCHAIN: "local"
run: |
go test -v ./...
Loading