Skip to content

Commit

Permalink
fix docs ci
Browse files Browse the repository at this point in the history
  • Loading branch information
pacrob committed Apr 19, 2024
1 parent 6e5877b commit 8775a02
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 2 deletions.
22 changes: 20 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,14 +86,32 @@ windows-wheel-steps:
key: cache-v1-{{ arch }}-{{ .Environment.CIRCLE_JOB }}-{{ checksum "setup.py" }}-{{ checksum "tox.ini" }}

docs: &docs
docker:
- image: common
working_directory: ~/repo
steps:
- checkout
- restore_cache:
keys:
- cache-v1-{{ arch }}-{{ .Environment.CIRCLE_JOB }}-{{ checksum "setup.py" }}-{{ checksum "tox.ini" }}
- run:
name: install dependencies
command: |
python -m pip install --upgrade pip
python -m pip install tox
- run:
name: install latexpdf dependencies
command: |
sudo apt-get update
sudo apt-get install latexmk tex-gyre texlive-fonts-extra
- run:
name: run tox
command: python -m tox run -r
- save_cache:
paths:
- .tox
- ~/.cache/pip
- ~/.local
key: cache-v1-{{ arch }}-{{ .Environment.CIRCLE_JOB }}-{{ checksum "setup.py" }}-{{ checksum "tox.ini" }}
resource_class: xlarge

jobs:
docs:
Expand Down
1 change: 1 addition & 0 deletions newsfragments/46.misc.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix docs CI - it was only installing deps, not actually running tox

0 comments on commit 8775a02

Please sign in to comment.