Skip to content

Commit

Permalink
fixed test pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
mryzhov committed Feb 6, 2024
1 parent 2a9a895 commit 5ffbc93
Showing 1 changed file with 11 additions and 13 deletions.
24 changes: 11 additions & 13 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -248,22 +248,12 @@ jobs:
python-version: ${{ env.PYTHON_VERSION }}
cache: 'pip'

- name: Install python dependencies
run: |
python3 -m pip install -r ${OPENVINO_TOKENIZERS_REPO}/tests/requirements.txt
- name: Download tokenizers package
uses: actions/download-artifact@v3
with:
name: openvino_tokenizers_wheel
path: ${{ env.INSTALL_DIR }}/ov_tokenizers

- name: Extract OpenVINO packages
run: |
pushd ${INSTALL_DIR}
tar -xzf openvino_package.tar.gz -C ${INSTALL_DIR}
popd
- name: Download OpenVINO package
uses: actions/download-artifact@v3
with:
Expand All @@ -278,13 +268,21 @@ jobs:
- name: Install OpenVINO Python wheel
run: |
python3 -m pip install ${INSTALL_DIR}/tools/openvino-*.whl
# Find and install wheel
pushd ${INSTALL_DIR}/tools
wheel_name=$(find . -name 'openvino-*.whl')
python3 -m pip install $wheel_name
popd
- name: Install OpenVINO tokenizers wheel
run: |
python3 -m pip install ${INSTALL_DIR}/ov_tokenizers/openvino-tokenizers-*.whl
# Find and install wheel
pushd ${INSTALL_DIR}/ov_tokenizers
wheel_name=$(find . -name 'openvino_tokenizers*.whl')
python3 -m pip install $wheel_name[all]
popd
- name: Tokenizers regression tests
run: |
python3 -m pytest tokenizers_test.py
working-directory: ${{ env.OPENVINO_TOKENIZERS_REPO }}/tests
working-directory: ${{ env.OPENVINO_TOKENIZERS_REPO }}/tests

0 comments on commit 5ffbc93

Please sign in to comment.