@@ -254,57 +254,8 @@ jobs:
254
254
with :
255
255
key : ${{ matrix.os }}-${{ env.RUST_BIN_DIR }}
256
256
257
- - name : cargo test --workspace
258
- run : cargo test --workspace
259
-
260
- # runs cargo test --workspace --features=runtime-benchmarks
261
- cargo-test-benchmarks :
262
- name : cargo test w/benchmarks
263
- runs-on : SubtensorCI
264
- strategy :
265
- matrix :
266
- rust-branch :
267
- - stable
268
- rust-target :
269
- - x86_64-unknown-linux-gnu
270
- # - x86_64-apple-darwin
271
- os :
272
- - ubuntu-latest
273
- # - macos-latest
274
- include :
275
- - os : ubuntu-latest
276
- # - os: macos-latest
277
- env :
278
- RELEASE_NAME : development
279
- # RUSTFLAGS: -A warnings
280
- RUSTV : ${{ matrix.rust-branch }}
281
- RUST_BACKTRACE : full
282
- RUST_BIN_DIR : target/${{ matrix.rust-target }}
283
- SKIP_WASM_BUILD : 1
284
- TARGET : ${{ matrix.rust-target }}
285
- steps :
286
- - name : Check-out repository under $GITHUB_WORKSPACE
287
- uses : actions/checkout@v4
288
-
289
- - name : Install dependencies
290
- run : |
291
- sudo apt-get update &&
292
- sudo apt-get install -y clang curl libssl-dev llvm libudev-dev protobuf-compiler
293
-
294
- - name : Install Rust ${{ matrix.rust-branch }}
295
- uses :
actions-rs/[email protected]
296
- with :
297
- toolchain : ${{ matrix.rust-branch }}
298
- components : rustfmt, clippy
299
- profile : minimal
300
-
301
- - name : Utilize Rust shared cached
302
-
303
- with :
304
- key : ${{ matrix.os }}-${{ env.RUST_BIN_DIR }}
305
-
306
- - name : cargo test --workspace --features=runtime-benchmarks
307
- run : cargo test --workspace --features=runtime-benchmarks
257
+ - name : cargo test --workspace --all-features
258
+ run : cargo test --workspace --all-features
308
259
309
260
# ensures cargo fix has no trivial changes that can be applied
310
261
cargo-fix :
0 commit comments