File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3,14 +3,14 @@ name: Build
33on :
44 push :
55 pull_request :
6- types : [ opened, reopened, synchronize ]
6+ types : [opened, reopened, synchronize]
77
88jobs :
99 dist-and-docs :
1010 runs-on : ubuntu-latest
1111 strategy :
1212 matrix :
13- python-version : [ ' 3.8', ' 3.9', ' 3.10' ]
13+ python-version : [" 3.8", " 3.9", " 3.10" ]
1414
1515 name : dists & docs (${{ matrix.python-version }})
1616 steps :
@@ -25,21 +25,22 @@ jobs:
2525
2626 - name : Install dependencies
2727 run : |
28- python -m pip install --upgrade pip setuptools wheel build
29- pip install -U -r requirements.txt
28+ python -m pip install --upgrade pip
29+ pip install poetry
30+ poetry install
3031
3132 - name : Build distributions
3233 run : |
33- python -m build
34+ poetry build
3435
3536 - name : Install package
3637 run : |
37- pip install -e .[ docs, speed]
38+ poetry install --extras " docs speed"
3839
3940 - name : Build docs
4041 shell : bash
4142 run : |
4243 cd docs
43- sphinx-build -b html -j auto -a . _build/html
44+ poetry run sphinx-build -b html -j auto -a . _build/html
4445 # Doesn't allow missing references
45- # sphinx-build -b html -j auto -a -n -T -W --keep-going . _build/html
46+ # sphinx-build -b html -j auto -a -n -T -W --keep-going . _build/html
Load diff This file was deleted.
You can’t perform that action at this time.
0 commit comments