Skip to content

Commit f0b486d

Browse files
committed
Suppress most warnings in test-all
1 parent ce62770 commit f0b486d

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

test-all

+5-2
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,9 @@ if [[ "${version_tensorflow_sys_crate}" != "${version_tensorflow_sys_readme}" ]]
4444
exit 1
4545
fi
4646

47+
# GitHub seems to choke on the large number of warnings from dependencies.
48+
export RUSTFLAGS="-Awarnings"
49+
4750
# Legacy Keras required for now because Keras 3 requires exporting models as
4851
# Keras format, which the C API can't read:
4952
# https://github.com/tensorflow/tensorflow/issues/70514
@@ -58,8 +61,8 @@ run cargo run --example regression
5861
run cargo run --example xor
5962
run cargo run --features tensorflow_unstable --example expressions
6063
run cargo run --features eager --example mobilenetv3
61-
run cargo doc -vv --features experimental,tensorflow_unstable,ndarray,eager
62-
run cargo doc -vv --features experimental,tensorflow_unstable,ndarray,eager,private-docs-rs
64+
run cargo doc --features experimental,tensorflow_unstable,ndarray,eager
65+
run cargo doc --features experimental,tensorflow_unstable,ndarray,eager,private-docs-rs
6366
# TODO(#66): Re-enable: (cd tensorflow-sys && cargo test -vv -j 1)
6467
(cd tensorflow-sys && run cargo run --example multiplication)
6568
(cd tensorflow-sys && run cargo run --example tf_version)

0 commit comments

Comments
 (0)