Skip to content

Commit 5bb035d

Browse files
committed
Fix executed notebook artifacts not being passed on from test job to docs job
1 parent 132fb07 commit 5bb035d

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.github/workflows/ci.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,13 +77,27 @@ jobs:
7777
pytest notebooks;
7878
fi
7979
80+
- name: Upload Notebook Artifacts
81+
if: matrix.env_name == 'py_latest_dependencies'
82+
uses: actions/upload-artifact@v3
83+
with:
84+
name: docs_outputs
85+
path: docs/
86+
8087
# Documentation build job
8188
docs:
89+
needs: test
8290
runs-on: ubuntu-latest
8391
steps:
8492
- name: Checkout Code
8593
uses: actions/checkout@v3
8694

95+
- name: Download Notebook Artifacts
96+
uses: actions/download-artifact@v3
97+
with:
98+
name: docs_outputs
99+
path: docs/
100+
87101
- name: Setup Python
88102
uses: actions/setup-python@v4
89103
with:

0 commit comments

Comments
 (0)