From 677cf5c0465566d531cadae276ec7fb481784edc Mon Sep 17 00:00:00 2001 From: sfmig <33267254+sfmig@users.noreply.github.com> Date: Fri, 24 May 2024 16:41:45 +0100 Subject: [PATCH] Setup conda --- .github/workflows/test_and_deploy.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test_and_deploy.yml b/.github/workflows/test_and_deploy.yml index 22f8a27..c81a79a 100644 --- a/.github/workflows/test_and_deploy.yml +++ b/.github/workflows/test_and_deploy.yml @@ -79,18 +79,18 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - uses: actions/setup-python@v5 + - uses: conda-incubator/setup-miniconda@v2 # we need conda for asv env management with: - python-version: "3.10" + activate-environment: asv-only # will activate this conda environment - name: Install asv - shell: bash + shell: bash -l {0} run: | python -mpip install --upgrade pip # install asv python -mpip install asv - name: Run asv check - shell: bash + shell: bash -l {0} run: | cd benchmarks