-
Notifications
You must be signed in to change notification settings - Fork 123
44 lines (35 loc) · 937 Bytes
/
tls.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
name: SSL
on:
push:
branches:
- main
- 'branch-*'
pull_request:
branches:
- '**'
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