Skip to content

Commit 9b82777

Browse files
Update noxfile.py with correct docs dependencies, fix double CI builds
1 parent 8e884d0 commit 9b82777

File tree

3 files changed

+19
-8
lines changed

3 files changed

+19
-8
lines changed

.github/workflows/tests.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
11
name: Tests
22

33
on:
4-
- push
5-
- pull_request
4+
push:
5+
branches:
6+
- master
7+
pull_request:
8+
branches:
9+
- master
610

711
jobs:
812
tests:

.gitignore

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,3 @@ __pycache__/
4141

4242
# Jupyter Notebook
4343
.ipynb_checkpoints
44-
45-
# temp folder
46-
.temp/

noxfile.py

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -189,8 +189,13 @@ def docs_build(session: Session) -> None:
189189

190190
session.run_always("poetry", "install", "--all-extras", external=True)
191191
session.install(
192-
"sphinx",
193192
"furo",
193+
"ipykernel",
194+
"ipython",
195+
"ipywidgets",
196+
"nbconvert",
197+
"nbsphinx",
198+
"sphinx",
194199
"sphinx-click",
195200
"sphinx-copybutton",
196201
"sphinxext-opengraph",
@@ -213,12 +218,17 @@ def docs(session: Session) -> None:
213218
args = session.posargs or ["--open-browser", "docs", "docs/_build"]
214219
session.run_always("poetry", "install", "--all-extras", external=True)
215220
session.install(
216-
"sphinx",
217-
"sphinx-autobuild",
218221
"furo",
222+
"ipykernel",
223+
"ipython",
224+
"ipywidgets",
225+
"nbconvert",
226+
"nbsphinx",
227+
"sphinx",
219228
"sphinx-click",
220229
"sphinx-copybutton",
221230
"sphinxext-opengraph",
231+
"sphinx-autobuild",
222232
)
223233

224234
build_dir = Path("docs", "_build")

0 commit comments

Comments
 (0)