Skip to content

Commit 1c52294

Browse files
Reduce test time (#959)
Co-authored-by: Ilya Lavrenov <ilya.lavrenov@intel.com>
1 parent 0aa6742 commit 1c52294

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.github/workflows/linux.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ jobs:
260260
run: |
261261
source ${OV_INSTALL_DIR}/setupvars.sh
262262
python -m pip install ./thirdparty/openvino_tokenizers/[transformers] -r ./tests/python_tests/requirements.txt --find-links ${OV_INSTALL_DIR}/wheels --upgrade-strategy eager
263-
python -m pytest ./tests/python_tests --ignore ./tests/python_tests/test_whisper_generate_api.py
263+
python -m pytest ./tests/python_tests/test_chat_generate_api.py::test_set_chat_template
264264
env:
265265
PYTHONPATH: "./build/:$PYTHONPATH"
266266

@@ -408,7 +408,7 @@ jobs:
408408
echo 'Acquire::Retries "10";' | sudo tee -a /etc/apt/apt.conf.d/80-retries > /dev/null
409409
echo 'APT::Get::Assume-Yes "true";' | sudo tee -a /etc/apt/apt.conf.d/81-assume-yes > /dev/null
410410
echo 'APT::Get::Fix-Broken "true";' | sudo tee -a /etc/apt/apt.conf.d/82-fix-broken > /dev/null
411-
echo 'APT::Get::no-install-recommends "true";' | sudo tee -a /etc/apt/apt.conf.d/83-no-reсommends > /dev/null
411+
echo 'APT::Get::no-install-recommends "true";' | sudo tee -a /etc/apt/apt.conf.d/83-no-recommends > /dev/null
412412
413413
- name: Install build dependencies
414414
run: |

.github/workflows/mac.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ jobs:
227227
run: |
228228
source ${OV_INSTALL_DIR}/setupvars.sh
229229
python -m pip install ./thirdparty/openvino_tokenizers/[transformers] -r ./tests/python_tests/requirements.txt --find-links ${OV_INSTALL_DIR}/wheels --upgrade-strategy eager
230-
python -m pytest ./tests/python_tests/ --ignore ./tests/python_tests/test_whisper_generate_api.py --ignore ./tests/python_tests/test_vlm_api.py
230+
python -m pytest ./tests/python_tests/test_chat_generate_api.py::test_set_chat_template
231231
env:
232232
PYTHONPATH: "./build/:$PYTHONPATH"
233233

.github/workflows/windows.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ jobs:
237237
run: |
238238
. "${{ env.OV_INSTALL_DIR }}/setupvars.ps1"
239239
python -m pip install ./thirdparty/openvino_tokenizers/[transformers] -r ./tests/python_tests/requirements.txt --find-links ${env:OV_INSTALL_DIR}/wheels --upgrade-strategy eager
240-
python -m pytest ./tests/python_tests/ --ignore ./tests/python_tests/test_whisper_generate_api.py --ignore ./tests/python_tests/test_vlm_api.py
240+
python -m pytest ./tests/python_tests/test_chat_generate_api.py::test_set_chat_template
241241
env:
242242
PYTHONPATH: "./build/" # cmd evaluates variables in a different way. Setting PYTHONPATH before setupvars.bat instead of doing that after solves that.
243243

0 commit comments

Comments
 (0)