diff --git a/azure-pipelines.yml b/azure-pipelines.yml index f2cbc6920..6201bdca7 100755 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -30,14 +30,12 @@ jobs: - job: Linux_daal4py pool: vmImage: 'ubuntu-20.04' - steps: - - script: | - conda update -y -q conda - conda create -n bench -q -y -c conda-forge python=3.8 pandas scikit-learn daal4py tqdm - displayName: Create Anaconda environment + - task: UsePythonVersion@0 + displayName: 'Use Python $(python.version)' + inputs: + versionSpec: '$(python.version)' - script: | - . /usr/share/miniconda/etc/profile.d/conda.sh - conda activate bench + pip install -r daal4py/requirements.txt python runner.py --configs configs/testing/daal4py.json --no-intel-optimized displayName: Run bench - job: Linux_XGBoost_and_daal4py diff --git a/daal4py_bench/requirements.txt b/daal4py_bench/requirements.txt new file mode 100644 index 000000000..c381d913c --- /dev/null +++ b/daal4py_bench/requirements.txt @@ -0,0 +1,5 @@ +scikit-learn +pandas +daal4py +openpyxl +tqdm