Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve
run_tutorials.py
script (#540)
Summary: Improves the script we use for checking that tutorials are runnign properly. Makes two changes: 1. Adds a `--include-ignored` flag that will result in the script running all tutorials, even the ones listed in the IGNORED constant. This simplifies checking the validity of all tutorials while keeping the CI time reasonable. 2. Tutorial check now fails "slow" - script will run all tutorials, report errors, and raise a `RuntimeError` at the end if at least one did not succeed. This provdies addiitonal signal for debugging wihtout having to repeatedly run working tutorials. Pull Request resolved: #540 Reviewed By: qingfeng10 Differential Revision: D23632932 Pulled By: Balandat fbshipit-source-id: 62f5cec37784bfbb554a765ae3294deb9c81cb6a
- Loading branch information