Skip to content

Bump com.diffplug.spotless from 7.0.2 to 8.0.0 #961

Bump com.diffplug.spotless from 7.0.2 to 8.0.0

Bump com.diffplug.spotless from 7.0.2 to 8.0.0 #961

Workflow file for this run

name: ClickHouse Kafka Connect Tests CI
on:
workflow_dispatch:
push:
branches:
- main
paths-ignore:
- '**/*.md'
- 'LICENSE'
- 'docs/**'
pull_request:
paths-ignore:
- '**/*.md'
- 'LICENSE'
- 'docs/**'
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
client: ["V1", "V2"]
clickhouse: ["23.7", "24.3", "latest", "cloud"]
name: ClickHouse ${{ matrix.clickhouse }} Client version ${{ matrix.client }} tests
steps:
- name: Check for Cloud Credentials
id: check-cloud-credentials
run: |
if [[ "${{ matrix.clickhouse }}" == "cloud" && (-z "${{ secrets.INTEGRATIONS_TEAM_TESTS_CLOUD_HOST_SMT }}" || -z "${{ secrets.INTEGRATIONS_TEAM_TESTS_CLOUD_PASSWORD_SMT }}") ]]; then
echo "SKIP_STEP=true" >> $GITHUB_ENV
else
echo "SKIP_STEP=false" >> $GITHUB_ENV
fi
shell: bash
- uses: actions/checkout@v3
if: env.SKIP_STEP != 'true'
- name: Set up JDK 17
if: env.SKIP_STEP != 'true'
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
- name: Setup Gradle
uses: gradle/actions/setup-gradle@017a9effdb900e5b5b2fddfb590a105619dca3c3
- name: Run Tests
if: env.SKIP_STEP != 'true'
env:
CLICKHOUSE_VERSION: ${{ matrix.clickhouse }}
CLICKHOUSE_CLOUD_HOST: ${{ secrets.INTEGRATIONS_TEAM_TESTS_CLOUD_HOST_SMT }}
CLICKHOUSE_CLOUD_PASSWORD: ${{ secrets.INTEGRATIONS_TEAM_TESTS_CLOUD_PASSWORD_SMT }}
CLIENT_VERSION: ${{ matrix.client }}
run: |
./gradlew test
- name: Upload test results
uses: actions/upload-artifact@v4
if: failure()
with:
name: result ${{ github.job }}_${{ matrix.clickhouse }}_${{ matrix.client }}
path: |
**/build/reports/tests
retention-days: 5