From 5dfd7f8c7eed0c9f499987c2b48bde4672f16c22 Mon Sep 17 00:00:00 2001 From: Mariana Meireles Date: Thu, 12 Dec 2024 10:13:41 +0100 Subject: [PATCH] Rm python env, add miniconda to CI --- .github/workflows/main.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 81e2b1e7..e26f1681 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -12,14 +12,17 @@ jobs: build: strategy: matrix: - python: [3.9] + python-version: [3.9] runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - name: Set up Python ${{ matrix.python }} - uses: actions/setup-python@v4 + - name: Setup Conda + uses: conda-incubator/setup-miniconda@v3 with: - python-version: ${{ matrix.python }} + activate-environment: true + python-version: ${{ matrix.python-version }} + auto-activate-base: true + miniconda-version: "latest" - name: Add variable run: | run: |