File tree Expand file tree Collapse file tree 5 files changed +117
-121
lines changed
Expand file tree Collapse file tree 5 files changed +117
-121
lines changed Original file line number Diff line number Diff line change 5656 key : venv-${{ hashFiles('poetry.lock') }}
5757
5858 - name : Install the project dependencies
59- run : poetry install -E docs
59+ run : poetry install
6060
6161 - name : Run static analysis, linters and mypy
6262 run : poetry run poe check
Original file line number Diff line number Diff line change 4545 key : venv-${{ hashFiles('poetry.lock') }}
4646
4747 - name : Build
48- run : |
49- poetry install
50- poetry build
48+ run : poetry build
5149
5250 - name : Get package version to create a new tag and release
5351 id : get-version
Original file line number Diff line number Diff line change @@ -8,7 +8,14 @@ version: 2
88build :
99 os : ubuntu-lts-latest
1010 tools :
11- python : " 3.11"
11+ python : " 3.12"
12+
13+ # https://docs.readthedocs.com/platform/stable/build-customization.html#install-dependencies-with-poetry~
14+ jobs :
15+ post_install :
16+ - pip install poetry
17+ - VIRTUAL_ENV=$READTHEDOCS_VIRTUALENV_PATH poetry install --with docs
18+
1219
1320# Build documentation in the docs/ directory with Sphinx
1421sphinx :
@@ -18,11 +25,3 @@ sphinx:
1825# Optionally build your docs in additional formats such as PDF and ePub
1926formats :
2027 - pdf
21-
22- # Optionally set the version of Python and requirements required to build your docs
23- python :
24- install :
25- - method : pip
26- path : .
27- extra_requirements :
28- - docs
You can’t perform that action at this time.
0 commit comments