Debian Codegraph @

.circleci/config.yml

raw
1 version: 2.1
2
3 commands:
4 run-tox:
5 description: "Run tox"
6 parameters:
7 version:
8 type: string
9 sphinx-version:
10 type: string
11 default: "5,6,7,8,latest,dev"
12 steps:
13 - checkout
14 # NOTE: use Tox 3.x until I understand the syntax for generative environments:
15 # https://tox.wiki/en/stable/user_guide.html#generative-environment-list
16 - run: pip install --user "tox<4"
17 - run: tox -e "<<parameters.version>>-sphinx{<<parameters.sphinx-version>>}"
18
19 jobs:
20 py38:
21 docker:
22 - image: 'cimg/python:3.8'
23 steps:
24 - run-tox:
25 version: py38
26 sphinx-version: "5,6"
27 py39:
28 docker:
29 - image: 'cimg/python:3.9'
30 steps:
31 - run-tox:
32 version: py39
33 sphinx-version: "5,6,7"
34 py310:
35 docker:
36 - image: 'cimg/python:3.10'
37 steps:
38 - run-tox:
39 version: py310
40 py311:
41 docker:
42 - image: 'cimg/python:3.11'
43 steps:
44 - run-tox:
45 version: py311
46 py312:
47 docker:
48 - image: 'cimg/python:3.12'
49 steps:
50 - run-tox:
51 version: py312
52 docs:
53 docker:
54 - image: 'cimg/python:3.12'
55 steps:
56 - checkout
57 - run: pip install --user tox
58 - run: tox -e docs
59
60 workflows:
61 version: 2
62 tests:
63 jobs:
64 - docs
65 - py312
66 - py311
67 - py310
68 - py39
69 - py38