Skip to content

Commit e89d4b2

Browse files
committed
back to pip
1 parent dc48545 commit e89d4b2

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

.github/workflows/benchmark.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ env:
1111

1212
defaults:
1313
run:
14-
shell: bash -leo pipefail {0} # -l for env activation
14+
shell: bash -e {0} # -e to fail on error
1515

1616
jobs:
1717
benchmark:
@@ -37,22 +37,22 @@ jobs:
3737
run: git fetch origin main:main
3838
if: ${{ github.ref_name != 'main' }}
3939

40-
- uses: conda-incubator/setup-miniconda@v3
40+
- name: Set up Python ${{ matrix.python }}
41+
uses: actions/setup-python@v5
4142
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"
4945

5046
- name: Cache datasets
5147
uses: actions/cache@v4
5248
with:
53-
path: ~/.cache
49+
path: |
50+
~/.cache
5451
key: benchmark-state-${{ hashFiles('benchmarks/**') }}
5552

53+
- name: Install dependencies
54+
run: pip install 'asv>=0.6.4' packaging
55+
5656
- name: Configure ASV
5757
working-directory: ${{ env.ASV_DIR }}
5858
run: asv machine --yes

benchmarks/asv.conf.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
// If missing or the empty string, the tool will be automatically
4444
// determined by looking for tools on the PATH environment
4545
// variable.
46-
"environment_type": "conda",
46+
"environment_type": "virtualenv",
4747

4848
// timeout in seconds for installing any dependencies in environment
4949
// defaults to 10 min

0 commit comments

Comments
 (0)