Skip to content

Commit 6afe816

Browse files
author
Daniel Incicau
committed
Include conda
1 parent e89123d commit 6afe816

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

.github/workflows/benchmark.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,15 @@ jobs:
2424
with:
2525
python-version: "3.12"
2626

27+
- name: Install Mambaforge
28+
uses: conda-incubator/setup-miniconda@v3
29+
with:
30+
miniforge-variant: Mambaforge
31+
use-mamba: true
32+
activate-environment: omnibenchmark-env
33+
auto-update-conda: true
34+
channels: conda-forge
35+
2736
- name: Cache pip packages
2837
id: cache-pip
2938
uses: actions/cache@v3
@@ -32,7 +41,9 @@ jobs:
3241
key: pip-${{ runner.os }}-${{ hashFiles('requirements.txt') }}
3342

3443
- name: Install omnibenchmark CLI
44+
shell: bash -l {0}
3545
run: |
46+
mamba install -y pip
3647
pip install git+https://github.com/omnibenchmark/omnibenchmark.git@dev
3748
3849
- name: Load benchmark cache
@@ -43,7 +54,7 @@ jobs:
4354
key: benchmark-${{ runner.os }}-${{ hashFiles('Clustering.yaml') }}
4455

4556
- name: Run benchmark
46-
continue-on-error: true
57+
shell: bash -l {0}
4758
run: |
4859
echo "y" | ob run benchmark -b Clustering.yaml --local --threads 20 --continue-on-error
4960

0 commit comments

Comments
 (0)