File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -28,10 +28,12 @@ jobs:
2828 uses : actions/setup-python@v2
2929 with :
3030 python-version : ${{ matrix.python-version }}
31- - name : install dependencies
32- run : |
33- python -m pip install --upgrade pip setuptools
34- pip install poetry
35- poetry install
31+ - name : Install and configure Poetry
32+ uses : snok/install-poetry@v1
33+ with :
34+ virtualenvs-create : true
35+ virtualenvs-in-project : true # Keeps virtualenv inside project directory
36+ - name : Install dependencies
37+ run : poetry install --no-interaction
3638 - run : bash docs/build_external.sh
37- - run : properdocs build
39+ - run : poetry run properdocs build
Original file line number Diff line number Diff line change @@ -20,13 +20,15 @@ jobs:
2020 uses : actions/setup-python@v2
2121 with :
2222 python-version : ${{ matrix.python-version }}
23- - name : install dependencies
24- run : |
25- python -m pip install --upgrade pip setuptools
26- pip install poetry
27- poetry install
23+ - name : Install and configure Poetry
24+ uses : snok/install-poetry@v1
25+ with :
26+ virtualenvs-create : true
27+ virtualenvs-in-project : true # Keeps virtualenv inside project directory
28+ - name : Install dependencies
29+ run : poetry install --no-interaction
2830 - run : bash docs/build_external.sh
29- - run : properdocs build
31+ - run : poetry run properdocs build
3032 - name : Deploy
3133 uses : peaceiris/actions-gh-pages@v3
3234 with :
Original file line number Diff line number Diff line change 2626fi
2727
2828# now build the reference python module API files
29- markdown_refdocs \
29+ poetry run markdown_refdocs \
3030 docs/_pori_python/pori_python/graphkb \
3131 docs/_pori_python/pori_python/ipr \
3232 -o docs/developer_reference \
3333 --link
3434
3535# build the spec tables
3636mkdir -p docs/ipr/includes
37- python docs/ipr_spec_tables.py
37+ poetry run python docs/ipr_spec_tables.py
You can’t perform that action at this time.
0 commit comments