Skip to content

Commit 2a68b31

Browse files
authored
Add Docs Tox CI back (#131)
1 parent eb6d44b commit 2a68b31

File tree

1 file changed

+20
-2
lines changed

1 file changed

+20
-2
lines changed

.circleci/config.yml

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,14 +86,32 @@ windows-wheel-steps:
8686
key: cache-v1-{{ arch }}-{{ .Environment.CIRCLE_JOB }}-{{ checksum "setup.py" }}-{{ checksum "tox.ini" }}
8787

8888
docs: &docs
89-
docker:
90-
- image: common
89+
working_directory: ~/repo
9190
steps:
91+
- checkout
92+
- restore_cache:
93+
keys:
94+
- cache-v1-{{ arch }}-{{ .Environment.CIRCLE_JOB }}-{{ checksum "setup.py" }}-{{ checksum "tox.ini" }}
95+
- run:
96+
name: install dependencies
97+
command: |
98+
python -m pip install --upgrade pip
99+
python -m pip install tox
92100
- run:
93101
name: install latexpdf dependencies
94102
command: |
95103
sudo apt-get update
96104
sudo apt-get install latexmk tex-gyre texlive-fonts-extra
105+
- run:
106+
name: run tox
107+
command: python -m tox run -r
108+
- save_cache:
109+
paths:
110+
- .tox
111+
- ~/.cache/pip
112+
- ~/.local
113+
key: cache-v1-{{ arch }}-{{ .Environment.CIRCLE_JOB }}-{{ checksum "setup.py" }}-{{ checksum "tox.ini" }}
114+
resource_class: xlarge
97115

98116
jobs:
99117
docs:

0 commit comments

Comments
 (0)