File tree Expand file tree Collapse file tree 2 files changed +11
-11
lines changed Expand file tree Collapse file tree 2 files changed +11
-11
lines changed Original file line number Diff line number Diff line change 11
11
12
12
defaults :
13
13
run :
14
- shell : bash -leo pipefail {0} # -l for env activation
14
+ shell : bash -e {0} # -e to fail on error
15
15
16
16
jobs :
17
17
benchmark :
@@ -37,22 +37,22 @@ jobs:
37
37
run : git fetch origin main:main
38
38
if : ${{ github.ref_name != 'main' }}
39
39
40
- - uses : conda-incubator/setup-miniconda@v3
40
+ - name : Set up Python ${{ matrix.python }}
41
+ uses : actions/setup-python@v5
41
42
with :
42
- python-version : " 3.13"
43
- mamba-version : " *"
44
- channels : conda-forge,defaults
45
- auto-activate-base : true
46
- activate-environment : base
47
-
48
- - run : conda install 'asv>=0.6.4'
43
+ python-version : ${{ matrix.python }}
44
+ cache : " pip"
49
45
50
46
- name : Cache datasets
51
47
uses : actions/cache@v4
52
48
with :
53
- path : ~/.cache
49
+ path : |
50
+ ~/.cache
54
51
key : benchmark-state-${{ hashFiles('benchmarks/**') }}
55
52
53
+ - name : Install dependencies
54
+ run : pip install 'asv>=0.6.4' packaging
55
+
56
56
- name : Configure ASV
57
57
working-directory : ${{ env.ASV_DIR }}
58
58
run : asv machine --yes
Original file line number Diff line number Diff line change 43
43
// If missing or the empty string, the tool will be automatically
44
44
// determined by looking for tools on the PATH environment
45
45
// variable.
46
- "environment_type" : " conda " ,
46
+ "environment_type" : " virtualenv " ,
47
47
48
48
// timeout in seconds for installing any dependencies in environment
49
49
// defaults to 10 min
You can’t perform that action at this time.
0 commit comments