Skip to content

Commit

Permalink
install test deps
Browse files Browse the repository at this point in the history
  • Loading branch information
mryzhov committed Dec 6, 2023
1 parent d3f1f6a commit 9172dbb
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 7 deletions.
6 changes: 5 additions & 1 deletion .ci/azure/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,11 @@ jobs:
- script: |
source $(WORK_DIR)/.env3/bin/activate
python -m pip install $(BUILD_WHEEL_DIR)/*.whl
# Find and install wheel
pushd $(BUILD_WHEEL_DIR)
wheel_name=$(find . -name 'ov_tokenizer*.whl')
python3 -m pip install $wheel_name[all]
popd
workingDirectory: $(WORK_DIR)
displayName: 'Install tokenizers wheel'
Expand Down
6 changes: 5 additions & 1 deletion .ci/azure/mac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,11 @@ jobs:
- script: |
source .venv/bin/activate
python -m pip install $(BUILD_WHEEL_DIR)/*.whl
# Find and install wheel
pushd $(BUILD_WHEEL_DIR)
wheel_name=$(find . -name 'ov_tokenizer*.whl')
python3 -m pip install $wheel_name[all]
popd
workingDirectory: $(WORK_DIR)
displayName: 'Install tokenizers wheel'
Expand Down
10 changes: 5 additions & 5 deletions .ci/azure/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,15 +112,15 @@ jobs:
displayName: 'Install dependencies'
- script: |
call $(SETUPVARS) -pyver 3.8
$(PYTHON_EXE) -m pip install build
$(PYTHON_EXE) -m build --wheel --outdir $(BUILD_WHEEL_DIR_CONTRIB) $(REPO_DIR)\modules\custom_operations
call $(SETUPVARS) && $(PYTHON_EXE) -m pip install build && $(PYTHON_EXE) -m build --wheel --outdir $(BUILD_WHEEL_DIR_CONTRIB) $(REPO_DIR)\modules\custom_operations
workingDirectory: $(WORK_DIR)
displayName: 'Build tokenizers wheel'
- script: |
$(PYTHON_EXE) -m pip install $(BUILD_WHEEL_DIR_CONTRIB)/*.whl
workingDirectory: $(WORK_DIR)
# Find and install the wheel
$wheelPath=Get-ChildItem -Path "$(BUILD_WHEEL_DIR_CONTRIB)" -Filter ov_tokenizer*.whl | % { $_.FullName }
$(PYTHON_EXE) -m pip install "$wheelPath[all]"
workingDirectory: $(WORK_DIR)
displayName: 'Install tokenizers wheel'
- publish: $(BUILD_WHEEL_DIR_CONTRIB)
Expand Down

0 comments on commit 9172dbb

Please sign in to comment.