Skip to content
Merged
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
10 changes: 1 addition & 9 deletions .github/workflows/build_and_test_cpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,15 +58,7 @@ jobs:
sudo apt-get install -y -V libarrow-dev

- name: Rust Cache
uses: actions/cache@v4
with:
path: |
~/.cargo/registry
~/.cargo/git
target
key: cpp-test-${{ runner.os }}-${{ hashFiles('**/Cargo.lock') }}
restore-keys: |
cpp-test-${{ runner.os }}-
uses: Swatinem/rust-cache@c19371144df3bb44fab255c43d04cbc2ab54d1c4 # v2.9.1

- name: Build fluss-test-cluster binary
run: cargo build -p fluss-test-cluster
Expand Down
14 changes: 3 additions & 11 deletions .github/workflows/build_and_test_python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,15 +61,7 @@ jobs:
run: sudo apt-get update && sudo apt-get install -y protobuf-compiler

- name: Rust Cache
uses: actions/cache@v4
with:
path: |
~/.cargo/registry
~/.cargo/git
target
key: python-test-${{ runner.os }}-${{ matrix.python }}-${{ hashFiles('**/Cargo.lock') }}
restore-keys: |
python-test-${{ runner.os }}-${{ matrix.python }}-
uses: Swatinem/rust-cache@c19371144df3bb44fab255c43d04cbc2ab54d1c4 # v2.9.1

- name: Build fluss-test-cluster binary
run: cargo build -p fluss-test-cluster
Expand All @@ -78,11 +70,11 @@ jobs:
working-directory: bindings/python
run: |
uv sync --extra dev --no-install-project
uv run maturin develop
uv run --no-sync maturin develop --uv

- name: Run tests (parallel)
working-directory: bindings/python
run: uv run pytest test/ -v -n auto
run: uv run --no-sync pytest test/ -v -n auto
env:
RUST_LOG: DEBUG
RUST_BACKTRACE: full
10 changes: 1 addition & 9 deletions .github/workflows/build_and_test_rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,15 +59,7 @@ jobs:
fi

- name: Rust Cache
uses: actions/cache@v4
with:
path: |
~/.cargo/registry
~/.cargo/git
target
key: rust-${{ runner.os }}-${{ hashFiles('**/Cargo.lock') }}
restore-keys: |
rust-${{ runner.os }}-
uses: Swatinem/rust-cache@c19371144df3bb44fab255c43d04cbc2ab54d1c4 # v2.9.1

- name: Build
run: cargo build --workspace --all-targets --exclude fluss_python --exclude fluss-cpp
Expand Down
Loading