Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions .github/workflows/ccm_tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: CCM tests

on:
push:
branches:
- main
- 'branch-*'
pull_request:
branches:
- '**'
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: Run CCM command to create the ~/.ccm dir
continue-on-error: true
run: ccm status
- name: Update rust toolchain
run: rustup update
- name: Run CCM tests
run: make ccm-test
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@ test: up
SCYLLA_URI3=172.42.0.4:9042 \
cargo test

.PHONY: ccm-test
ccm-test:
RUSTFLAGS="--cfg ccm_tests" RUST_LOG=trace cargo test --test ccm_integration

.PHONY: dockerized-test
dockerized-test: up
test/dockerized/run.sh
Expand Down
3 changes: 2 additions & 1 deletion scylla/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -82,13 +82,14 @@ bigdecimal-04 = { package = "bigdecimal", version = "0.4" }
scylla-proxy = { version = "0.0.3", path = "../scylla-proxy" }
ntest = "0.9.3"
criterion = "0.4" # Note: v0.5 needs at least rust 1.70.0
tokio = { version = "1.34", features = ["test-util"] }
tracing-subscriber = { version = "0.3.14", features = ["env-filter"] }
assert_matches = "1.5.0"
rand_chacha = "0.3.1"
time = "0.3"
anyhow = "1.0.95"
tokio = { version = "1.34", features = ["test-util", "fs", "process"] }
serde_yaml = {version = "0.9.34"}
tempfile = "3.16"

[[bench]]
name = "benchmark"
Expand Down
Loading
Loading