Skip to content

Commit

Permalink
Update test_benchmarks.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jeandut authored Jun 3, 2024
1 parent e83c580 commit 6c45d05
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/test_benchmarks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ jobs:
BENCHOPT_DEBUG: 1
BENCHOPT_CONDA_CMD: mamba
SKLEARN_ALLOW_DEPRECATED_SKLEARN_PACKAGE_INSTALL: True
PYTEST_EXTRA_ARGS: ""

defaults:
run:
Expand Down Expand Up @@ -73,9 +74,13 @@ jobs:
run: |
git clone https://github.com/owkin/FLamby.git
cd FLamby
pip install -e ".[all_extra]"
python -m pip install --upgrade pip
pip install pytest
pip install -e ."[all_extra]"
- name: Test
run: |
benchopt test .
benchopt test . --skip-install
benchopt test . --env-name bench_test_env -vl $PYTEST_EXTRA_ARGS
# Avoid having too large cache between two runs
benchopt clean .
benchopt test . --env-name bench_test_env -vl --skip-install $PYTEST_EXTRA_ARGS

0 comments on commit 6c45d05

Please sign in to comment.