Commit 9573b6d 1 parent 84119dc commit 9573b6d Copy full SHA for 9573b6d
File tree 1 file changed +38
-0
lines changed
1 file changed +38
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Verify Notebooks
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - master
7
+ paths :
8
+ - " .github/workflows/verify-notebooks.yml"
9
+ - " examples/model-deployment/"
10
+ - " text-image-search/"
11
+ pull_request :
12
+ branches :
13
+ - master
14
+ paths :
15
+ - " .github/workflows/verify-notebooks.yml"
16
+ - " examples/model-deployment/"
17
+ - " text-image-search/"
18
+
19
+ defaults :
20
+ run :
21
+ # Specify to ensure "pipefail and errexit" are set.
22
+ # Ref: https://docs.github.com/en/actions/writing-workflows/workflow-syntax-for-github-actions#defaultsrunshell
23
+ shell : bash
24
+
25
+ jobs :
26
+ test :
27
+ runs-on : ubuntu-latest
28
+ steps :
29
+ - uses : actions/checkout@v4
30
+
31
+ - name : Install dependencies
32
+ run : |
33
+ pip install --upgrade -qqq pytest notebook nbconvert runnb pandas torch numpy scikit-learn
34
+
35
+ - name : Run Notebooks
36
+ working-directory : examples/model-deployment
37
+ run : |
38
+ runnb --allow-not-trusted ONNXModelExport.ipynb
You can’t perform that action at this time.
0 commit comments