Skip to content

Commit e7a2ba1

Browse files
committed
ci: skip RocksDB tests in CI workflows for faster validation
1 parent c2a6e63 commit e7a2ba1

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

.github/workflows/ci-main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,8 +141,8 @@ jobs:
141141
142142
- name: Run tests
143143
run: |
144-
# Run unit and integration tests
145-
cargo test --release --target ${{ matrix.target }} --workspace --all-features
144+
# Run unit and integration tests (skip RocksDB tests for speed)
145+
cargo test --release --target ${{ matrix.target }} --workspace --all-features -- --skip rocksdb
146146
147147
- name: Upload binary artifacts
148148
uses: actions/upload-artifact@v4

Earthfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,8 @@ test:
221221
# COPY --chmod=0755 +build-debug/terraphim_server /code/terraphim_server_debug
222222
GIT CLONE https://github.com/terraphim/INCOSE-Systems-Engineering-Handbook.git /tmp/system_operator/
223223
# RUN --mount=$EARTHLY_RUST_CARGO_HOME_CACHE --mount=$EARTHLY_RUST_TARGET_CACHE nohup /code/terraphim_server_debug & sleep 5 && cargo test;
224-
RUN cargo test --workspace
224+
# Skip RocksDB tests for speed - they require longer isolation and are covered in full CI
225+
RUN cargo test --workspace -- --skip rocksdb
225226
#DO rust+CARGO --args="test --offline"
226227

227228
fmt:

0 commit comments

Comments
 (0)