Skip to content

Commit 4fbda60

Browse files
committed
fix: github actions
1 parent 6612249 commit 4fbda60

2 files changed

Lines changed: 9 additions & 9 deletions

File tree

.github/workflows/build.yml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@ name: Build
33
on:
44
push:
55
pull_request:
6-
types: [ opened, reopened, synchronize ]
6+
types: [opened, reopened, synchronize]
77

88
jobs:
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

requirements.txt

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)