Skip to content

Commit 5240feb

Browse files
authored
TEST-modin-project#6439: create HDK environment manually for ASV (modin-project#6431)
Signed-off-by: Anatoly Myachev <anatoly.myachev@intel.com>
1 parent c6e3f3c commit 5240feb

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

.github/workflows/ci.yml

+10-1
Original file line numberDiff line numberDiff line change
@@ -230,6 +230,9 @@ jobs:
230230
with:
231231
auto-activate-base: true
232232
activate-environment: ""
233+
miniforge-variant: Mambaforge
234+
miniforge-version: latest
235+
use-mamba: true
233236
- name: ASV installation
234237
run: |
235238
# FIXME: use the tag or release version of ASV as soon as it appears;
@@ -262,9 +265,15 @@ jobs:
262265
sed -i 's/def time_groupby_agg_nunique(self, \*args, \*\*kwargs):/# def time_groupby_agg_nunique(self, *args, **kwargs):/g' benchmarks/hdk/benchmarks.py
263266
sed -i 's/execute(self.df.groupby(by=self.groupby_columns).agg("nunique"))/# execute(self.df.groupby(by=self.groupby_columns).agg("nunique"))/g' benchmarks/hdk/benchmarks.py
264267
268+
# TODO: Remove manual environment creation after fix https://github.com/airspeed-velocity/asv/issues/1310
269+
mamba env create -f ../requirements/env_hdk.yml
270+
conda activate modin_on_hdk
271+
pip install git+https://github.com/airspeed-velocity/asv.git@ef016e233cb9a0b19d517135104f49e0a3c380e9
272+
pip install ..
273+
265274
# check Modin on HDK
266275
MODIN_ENGINE=native MODIN_STORAGE_FORMAT=hdk MODIN_EXPERIMENTAL=true asv run --quick --strict --show-stderr \
267-
--launch-method=forkserver --config asv.conf.hdk.json \
276+
--launch-method=forkserver --python=same --config asv.conf.hdk.json \
268277
-b ^hdk | tee benchmarks.log
269278
else
270279
echo "Benchmarks did not run, no changes detected"

0 commit comments

Comments
 (0)