Skip to content

Commit 3452a95

Browse files
committed
Disable doc tests in from-source builds
Due to the issue described in #25, the from-source build is limited to not running the doc tests.
1 parent c4a512b commit 3452a95

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/main.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,10 @@ jobs:
3737
- name: Build (openvino-sys from source)
3838
run: cargo build --verbose --features openvino-sys/from-source
3939
- name: Run tests
40-
run: cargo test --verbose --features openvino-sys/from-source
40+
# For some reason the library path is not set during the doc tests (`--doc`, see
41+
# https://doc.rust-lang.org/cargo/commands/cargo-test.html#target-selection) so we skip them
42+
# here: issue at https://github.com/intel/openvino-rs/issues/25.
43+
run: cargo test --verbose --features openvino-sys/from-source --lib --tests
4144

4245
# Build and test from an existing OpenVINO installation inside a Docker image (i.e. download the
4346
# binaries, then compile against these).

0 commit comments

Comments
 (0)