Skip to content

Commit 2b454ed

Browse files
committed
use validate notebooks job from ci actions repo
Signed-off-by: Emilio Garcia <[email protected]>
1 parent 2c556c4 commit 2b454ed

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

.github/workflows/instructlab-knowledge-e2e.yml

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,17 @@ jobs:
3535
run: |
3636
pip install ${{ env.TESTING_PIP_DEPENDENCIES }}
3737
ipython kernel install --name "python3" --user
38-
- name: Validate The Notebook
39-
working-directory: ./notebooks/instructlab-knowledge
40-
run: |
41-
git clone https://github.com/instructlab/instructlab.git
42-
python3 instructlab/scripts/validate_notebook.py ${{ matrix.notebooks_to_test }}
38+
- name: Checkout "validate-notebooks" in-house CI action
39+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
40+
with:
41+
ref: notebook-validate
42+
repository: iamemilio/ci-actions
43+
path: ci-actions
44+
sparse-checkout: actions/validate-notebooks
45+
- name: Validate Jupyter Notebooks
46+
uses: ./ci-actions/actions/validate-notebooks
47+
with:
48+
path: "./notebooks/instructlab-knowledge/${{ matrix.notebooks_to_test }}"
4349
- name: Start Inference Mock Server
4450
working-directory: ./tests/inference-mock
4551
run: |

0 commit comments

Comments
 (0)