From 91705399d9dab1ab62f980efa2843f507acf9554 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karol=20Bary=C5=82a?= Date: Wed, 6 Mar 2024 19:28:05 +0100 Subject: [PATCH] Add Tablets CI --- .github/workflows/tablets.yml | 38 +++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 .github/workflows/tablets.yml diff --git a/.github/workflows/tablets.yml b/.github/workflows/tablets.yml new file mode 100644 index 0000000000..175e60a0ae --- /dev/null +++ b/.github/workflows/tablets.yml @@ -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 \ No newline at end of file