Skip to content

Commit 594fa15

Browse files
committed
ci: skip RocksDB tests in all remaining CI workflows
1 parent e7a2ba1 commit 594fa15

5 files changed

Lines changed: 13 additions & 10 deletions

File tree

.github/workflows/ci-optimized-main.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -241,12 +241,12 @@ jobs:
241241
run: |
242242
echo "=== Running Tests ===" >> $GITHUB_STEP_SUMMARY
243243
244-
# Run unit and integration tests
245-
cargo test --release --target ${{ matrix.target }} --workspace --all-features -- --test-threads=4
244+
# Run unit and integration tests (skip RocksDB tests for speed)
245+
cargo test --release --target ${{ matrix.target }} --workspace --all-features -- --test-threads=4 --skip rocksdb
246246
247247
# Run specific critical tests
248-
cargo test --release --package terraphim_service --target ${{ matrix.target }}
249-
cargo test --release --package terraphim_middleware --target ${{ matrix.target }}
248+
cargo test --release --package terraphim_service --target ${{ matrix.target }} -- --skip rocksdb
249+
cargo test --release --package terraphim_middleware --target ${{ matrix.target }} -- --skip rocksdb
250250
251251
- name: Upload Build Artifacts
252252
uses: actions/upload-artifact@v4

.github/workflows/ci-optimized.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ jobs:
308308
-v $PWD:/workspace \
309309
-w /workspace \
310310
${{ needs.build-base-image.outputs.image-tag }} \
311-
cargo test --workspace --all-features
311+
cargo test --workspace --all-features -- --skip rocksdb
312312
313313
summary:
314314
needs: [lint-and-format, build-frontend, build-rust, test]

.github/workflows/publish-crates.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,8 @@ jobs:
5858

5959
- name: Test crates before publishing
6060
run: |
61-
cargo test --workspace --lib --quiet
61+
# Skip RocksDB tests for speed
62+
cargo test --workspace --lib --quiet -- --skip rocksdb
6263
cargo check --workspace --all-targets --quiet
6364
6465
- name: Get crates.io token from 1Password

.github/workflows/release.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,8 @@ jobs:
118118

119119
- name: Run all tests
120120
run: |
121-
cargo test --workspace --all-features --release
121+
# Skip RocksDB tests for speed - they require longer isolation
122+
cargo test --workspace --all-features --release -- --skip rocksdb
122123
123124
- name: Run WASM tests
124125
run: |
@@ -181,8 +182,8 @@ jobs:
181182
- name: Build frontend
182183
run: |
183184
cd desktop
184-
npm ci
185-
npm run build
185+
yarn install --frozen-lockfile
186+
yarn build
186187
187188
- name: Create archive
188189
run: |

.github/workflows/rust-build.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,4 +200,5 @@ jobs:
200200

201201
- name: Run basic tests
202202
run: |
203-
cargo test --target ${{ matrix.target }} --workspace --exclude terraphim_agent
203+
# Skip RocksDB tests for speed
204+
cargo test --target ${{ matrix.target }} --workspace --exclude terraphim_agent -- --skip rocksdb

0 commit comments

Comments
 (0)