@@ -228,41 +228,36 @@ jobs:
228
228
miniforge-variant : Mambaforge
229
229
miniforge-version : latest
230
230
use-mamba : true
231
- - name : ASV installation
232
- run : pip install asv==0.5.1
233
231
- name : Running benchmarks
234
232
run : |
235
233
git remote add upstream https://github.com/modin-project/modin.git
236
234
git fetch upstream
237
- if git diff upstream/master --name-only | grep -q "^asv_bench/"; then
238
- # ASV correctly creates environments for testing only from the branch
239
- # with `master` name
240
- git checkout -b master
235
+ if git diff upstream/main --name-only | grep -q "^asv_bench/"; then
241
236
cd asv_bench
242
- asv check -v
237
+
238
+ mamba env create -f ../environment-dev.yml
239
+ conda activate modin
240
+ pip install ..
243
241
244
242
asv machine --yes
245
243
246
244
# check Modin on Ray
247
- asv run --quick --strict --show-stderr --launch-method=spawn \
245
+ asv run --quick --dry-run --python=same -- strict --show-stderr --launch-method=spawn \
248
246
-b ^benchmarks -b ^io -b ^scalability | tee benchmarks.log
249
247
250
248
# check pure pandas
251
- MODIN_ASV_USE_IMPL=pandas asv run --quick --strict --show-stderr --launch-method=spawn \
249
+ MODIN_ASV_USE_IMPL=pandas asv run --quick --dry-run --python=same -- strict --show-stderr --launch-method=spawn \
252
250
-b ^benchmarks -b ^io | tee benchmarks.log
253
251
254
- # Otherwise, ASV considers that the environment has already been created, although ASV command is run for another config,
255
- # which requires the creation of a completely new environment. This step will be required after removing the manual environment setup step.
256
- rm -f -R .asv/env/
257
-
258
252
# TODO: Remove manual environment creation after fix https://github.com/airspeed-velocity/asv/issues/1310
253
+ conda deactivate
259
254
mamba env create -f ../requirements/env_hdk.yml
260
255
conda activate modin_on_hdk
261
256
pip install asv==0.5.1
262
257
pip install ..
263
258
264
259
# check Modin on HDK
265
- MODIN_ENGINE=native MODIN_STORAGE_FORMAT=hdk MODIN_EXPERIMENTAL=true asv run --quick --strict --show-stderr \
260
+ MODIN_ENGINE=native MODIN_STORAGE_FORMAT=hdk MODIN_EXPERIMENTAL=true asv run --quick --dry-run --python=same -- strict --show-stderr \
266
261
--launch-method=forkserver --python=same --config asv.conf.hdk.json \
267
262
-b ^hdk | tee benchmarks.log
268
263
else
0 commit comments