Skip to content

Add minimal, anonymous usage telemetry #80

Add minimal, anonymous usage telemetry

Add minimal, anonymous usage telemetry #80

name: Test local postgres (integration)
on:
workflow_dispatch:
pull_request:
paths:
- "crates/clickhousectl/src/local/**"
- "crates/clickhousectl/Cargo.toml"
- "Cargo.lock"
- "scripts/test-postgres-integration.sh"
- ".github/workflows/test-postgres-integration.yml"
permissions:
contents: read
jobs:
integration:
name: local postgres edge cases
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@29eef336d9b2848a0b548edc03f92a220660cdb8 # stable @ 2026-03-27
- name: Cache cargo build
uses: Swatinem/rust-cache@e18b497796c12c097a38f9edb9d0641fb99eee32 # v2.9.1
- name: Build clickhousectl
run: cargo build -p clickhousectl
- name: Pull postgres images
run: |
docker pull postgres:16-alpine
docker pull postgres:17-alpine
docker pull postgres:18
- name: Run integration tests
run: scripts/test-postgres-integration.sh