Skip to content

Commit

Permalink
Add Tablets CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Lorak-mmk committed Mar 9, 2024
1 parent 466af8e commit 9170539
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/tablets.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,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-01-17T17:56:00Z'
ccm updateconf 'experimental_features: [consistent-topology-changes, tablets]'
ccm start
- name: Check
run: cargo check --verbose --features unstable-tablets
- name: Run cloud tests
run: SCYLLA_URI=172.42.0.2:9042 SCYLLA_URI2=172.42.0.3:9042 SCYLLA_URI3=172.42.0.4:9042 cargo test --verbose --features unstable-tablets

- name: Remove tablets cluster
run: ccm remove tablets

0 comments on commit 9170539

Please sign in to comment.