Skip to content

Commit

Permalink
Add CI test for building docs.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 250657535
Change-Id: I28bebd70367dddbb11a81cfd38053cc8b4939698
  • Loading branch information
tomhennigan authored and copybara-github committed May 30, 2019
1 parent f9cc2b0 commit 6ed1c68
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,15 @@ python3 -m pip install -r requirements-test.txt
python3 -m pip install -r requirements-tf.txt
python3 -c 'import tensorflow as tf; print(tf.__version__)'


# Run bazel test command. Double test timeouts to avoid flakes.
bazel test --jobs=${N_JOBS} --test_timeout 300,450,1200,3600 \
--build_tests_only --test_output=errors \
--cache_test_results=no \
-- //sonnet/...

# Test docs still build.
cd docs/
pip install -r requirements.txt
make html

deactivate

0 comments on commit 6ed1c68

Please sign in to comment.