7
7
push :
8
8
paths :
9
9
- ' .github/workflows/test_openvino_examples.yml'
10
- - ' examples/openvino/*'
10
+ - ' examples/openvino/** '
11
11
pull_request :
12
12
paths :
13
13
- ' .github/workflows/test_openvino_examples.yml'
14
- - ' examples/openvino/*'
14
+ - ' examples/openvino/** '
15
15
16
16
concurrency :
17
17
group : ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
22
22
strategy :
23
23
fail-fast : false
24
24
matrix :
25
- python-version : ["3.8", "3.10 "]
25
+ python-version : ["3.8", "3.11 "]
26
26
27
- runs-on : ubuntu-20 .04
27
+ runs-on : ubuntu-22 .04
28
28
29
29
steps :
30
30
- uses : actions/checkout@v2
@@ -35,12 +35,12 @@ jobs:
35
35
36
36
- name : Install dependencies
37
37
run : |
38
- pip install optimum [openvino] jstyleson nncf pytest
39
- pip install -r examples/openvino/audio-classification/requirements.txt
40
- pip install -r examples/openvino/image-classification/requirements.txt
41
- pip install -r examples/openvino/question-answering/requirements.txt
42
- pip install -r examples/openvino/text-classification/requirements.txt
38
+ pip install . [openvino] jstyleson pytest
39
+ pip install -r examples/openvino/audio-classification/requirements.txt --extra-index-url https://download.pytorch.org/whl/cpu
40
+ pip install -r examples/openvino/image-classification/requirements.txt --extra-index-url https://download.pytorch.org/whl/cpu
41
+ pip install -r examples/openvino/question-answering/requirements.txt --extra-index-url https://download.pytorch.org/whl/cpu
42
+ pip install -r examples/openvino/text-classification/requirements.txt --extra-index-url https://download.pytorch.org/whl/cpu
43
43
44
44
- name : Test examples
45
45
run : |
46
- python -m pytest examples/openvino/test_examples.py
46
+ python -m pytest examples/openvino/test_examples.py
0 commit comments