Skip to content

Commit

Permalink
TST: [pdflatex] Add build of quantecon-mini-example as a project styl…
Browse files Browse the repository at this point in the history
…e test case (jupyter-book#636)
  • Loading branch information
mmcky authored and najuzilu committed May 30, 2020
1 parent d7f7777 commit 5a49af7
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,13 +96,18 @@ jobs:
name: Run pytest for pdflatex
command: pytest tests/test_pdf.py::test_pdflatex

# Build Docs PDF as an artifact
# Build quantecon-mini-example project as a test case
# TODO: revert this to building docs/ when we've added support for svg, gif, etc
- run:
name: PDF from LaTeX
command: jb build docs --builder pdflatex
command: |
git clone https://github.com/executablebooks/quantecon-mini-example.git
cd quantecon-mini-example/
pip install -r requirements.txt
jb build mini_book --builder pdflatex
- store_artifacts:
path: docs/_build/latex/python.pdf
path: quantecon-mini-example/mini_book/_build/latex/python.pdf
destination: pdflatex

workflows:
Expand Down

0 comments on commit 5a49af7

Please sign in to comment.