24
24
matrix :
25
25
options :
26
26
- ' --use-current --sphinx-theme sphinx_rtd_theme'
27
- - ' --use-current --use-html-blobs --no-breadcrumbs community.crypto community.docker'
28
- - ' --no-indexes --squash-hierarchy --intersphinx ansible6:https://docs.ansible.com/ansible/6/ community.crypto --collection-version 2.0.0'
27
+ - ' --no-indexes --squash-hierarchy --intersphinx ansible7:https://docs.ansible.com/ansible/6/ community.crypto --collection-version 2.0.0'
28
+ python :
29
+ - ' 3.11'
30
+ antsibull_core_ref :
31
+ - main
32
+ include :
33
+ - options : ' --use-current --use-html-blobs --no-breadcrumbs community.crypto community.docker'
34
+ python : ' 3.9'
35
+ antsibull_core_ref : stable-1
29
36
30
37
steps :
31
38
- name : Check out antsibull-docs
@@ -38,17 +45,18 @@ jobs:
38
45
with :
39
46
repository : ansible-community/antsibull-core
40
47
path : antsibull-core
48
+ ref : ${{ matrix.antsibull_core_ref }}
41
49
42
- - name : Set up Python 3.10
50
+ - name : Set up Python ${{ matrix.python }}
43
51
uses : actions/setup-python@v4
44
52
with :
45
- python-version : ' 3.10 '
53
+ python-version : ${{ matrix.python }}
46
54
47
55
- name : Install dependencies
48
56
run : |
49
57
python -m pip install --upgrade pip
50
58
python -m pip install poetry
51
- sed -i -e 's/^python = .*/python = "^3.10 "/' pyproject.toml
59
+ sed -i -e 's/^python = .*/python = "^${{ matrix.python }} "/' pyproject.toml
52
60
poetry install
53
61
poetry update
54
62
working-directory : antsibull-docs
@@ -126,23 +134,23 @@ jobs:
126
134
repository : ansible-community/antsibull-core
127
135
path : antsibull-core
128
136
129
- - name : Set up Python 3.10
137
+ - name : Set up Python 3.11
130
138
uses : actions/setup-python@v4
131
139
with :
132
- python-version : ' 3.10 '
140
+ python-version : ' 3.11 '
133
141
134
142
- name : Install dependencies
135
143
run : |
136
144
python -m pip install --upgrade pip
137
145
python -m pip install poetry
138
- sed -i -e 's/^python = .*/python = "^3.10 "/' pyproject.toml
146
+ sed -i -e 's/^python = .*/python = "^3.11 "/' pyproject.toml
139
147
poetry install
140
148
poetry update
141
149
working-directory : antsibull-docs
142
150
143
151
- name : Get hold of deps file
144
152
run : |
145
- curl https://raw.githubusercontent.com/ansible-community/ansible-build-data/main/6 /ansible-6.5 .0.deps --output ansible.deps
153
+ curl https://raw.githubusercontent.com/ansible-community/ansible-build-data/main/7 /ansible-7.0 .0.deps --output ansible.deps
146
154
working-directory : antsibull-docs
147
155
148
156
- name : Build stable docs RST files
@@ -175,23 +183,23 @@ jobs:
175
183
repository : ansible-community/antsibull-core
176
184
path : antsibull-core
177
185
178
- - name : Set up Python 3.10
186
+ - name : Set up Python 3.11
179
187
uses : actions/setup-python@v4
180
188
with :
181
- python-version : ' 3.10 '
189
+ python-version : ' 3.11 '
182
190
183
191
- name : Install dependencies
184
192
run : |
185
193
python -m pip install --upgrade pip
186
194
python -m pip install poetry
187
- sed -i -e 's/^python = .*/python = "^3.10 "/' pyproject.toml
195
+ sed -i -e 's/^python = .*/python = "^3.11 "/' pyproject.toml
188
196
poetry install
189
197
poetry update
190
198
working-directory : antsibull-docs
191
199
192
200
- name : Get hold of ansible.in file
193
201
run : |
194
- curl https://raw.githubusercontent.com/ansible-community/ansible-build-data/main/7 /ansible.in --output ansible.in
202
+ curl https://raw.githubusercontent.com/ansible-community/ansible-build-data/main/8 /ansible.in --output ansible.in
195
203
working-directory : antsibull-docs
196
204
197
205
- name : Build devel docs RST files
0 commit comments