Skip to content

errors: final cleanups (restructure ExecutionError and introduce SchemaAgreementError) #3305

errors: final cleanups (restructure ExecutionError and introduce SchemaAgreementError)

errors: final cleanups (restructure ExecutionError and introduce SchemaAgreementError) #3305

Workflow file for this run

name: SSL
on:
push:
branches:
- main
- 'branch-*'
pull_request:
branches:
- main
- 'branch-*'
env:
CARGO_TERM_COLOR: always
RUST_BACKTRACE: full
jobs:
tls:
runs-on: ubuntu-latest
timeout-minutes: 60
env:
working-directory: ./scylla
steps:
- uses: actions/checkout@v3
- name: Update rust toolchain
run: rustup update
- name: Check
run: cargo check --verbose --features "ssl"
working-directory: ${{env.working-directory}}
- name: Start the cluster
run: docker compose -f test/tls/docker-compose-tls.yml up -d
- name: Run tests
run: SCYLLA_URI=172.44.0.2 RUST_LOG=trace cargo run --example tls
- name: Stop the cluster
if: ${{ always() }}
run: docker compose -f test/tls/docker-compose-tls.yml stop
- name: Print the cluster logs
if: ${{ always() }}
run: docker compose -f test/tls/docker-compose-tls.yml logs