Make CI test example programs
Created by: wangkuiyi
According to the configuration file, currently, the Travis CI does only precommit check:
script:
- PATH=/tmp/go/bin:$PATH .travis/precommit.sh
where the precommit.sh file runs pre-commit run -a
, which, according to the pre-commit configuration file, does only format checking.
Can we make it call https://github.com/PaddlePaddle/book/blob/develop/.tools/convert-markdown-into-ipynb-and-test.sh to extract Python example code out from each chapter -- those directories with a numeric prefix, e.g., 01.fit_a_line/README.md
, and run them?