-
Notifications
You must be signed in to change notification settings - Fork 110
38 lines (32 loc) · 1011 Bytes
/
tablets.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
name: Tablets
on:
push:
branches:
- main
- 'branch-*'
pull_request:
branches:
- main
- 'branch-*'
env:
CARGO_TERM_COLOR: always
RUST_BACKTRACE: full
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
- uses: actions/checkout@v3
- name: Install scylla-ccm
run: pip3 install https://github.com/scylladb/scylla-ccm/archive/master.zip
- name: Create cluster with tablets enabled
run: |
ccm create tablets -i 127.0.1. -n 3 --scylla -v 'unstable/master:2024-03-21T09:59:03Z'
ccm updateconf 'experimental_features: [consistent-topology-changes, tablets]'
ccm start
- name: Check
run: cargo check --verbose --features unstable-tablets
- name: Run tablets tests
run: SCYLLA_URI=127.0.1.1:9042 SCYLLA_URI2=127.0.1.2:9042 SCYLLA_URI3=127.0.1.3:9042 cargo test --verbose --features unstable-tablets
- name: Remove tablets cluster
run: ccm remove tablets