Skip to content

Commit 838e790

Browse files
authored
Merge pull request #20 from iamemilio/validate_notebook_ci_actions
use validate notebooks job from ci actions repo
2 parents 1f8a317 + 9c08c46 commit 838e790

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
@@ -36,11 +36,17 @@ jobs:
3636
run: |
3737
pip install ${{ env.TESTING_PIP_DEPENDENCIES }}
3838
ipython kernel install --name "python3" --user
39-
- name: Validate The Notebook
40-
working-directory: ./notebooks/instructlab-knowledge
41-
run: |
42-
git clone https://github.com/instructlab/instructlab.git
43-
python3 instructlab/scripts/validate_notebook.py ${{ matrix.notebooks_to_test }}
39+
- name: Checkout "validate-notebooks" in-house CI action
40+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
41+
with:
42+
repository: instructlab/ci-actions
43+
path: ci-actions
44+
ref: v0.2.0
45+
sparse-checkout: actions/validate-notebooks
46+
- name: Validate Jupyter Notebooks
47+
uses: ./ci-actions/actions/validate-notebooks
48+
with:
49+
path: "./notebooks/instructlab-knowledge/${{ matrix.notebooks_to_test }}"
4450
- name: Start Inference Mock Server
4551
working-directory: ./tests/inference-mock
4652
run: |

0 commit comments

Comments
 (0)