From ea7e8a6f1508cf6ae03e5e04578dc14bd02d00d9 Mon Sep 17 00:00:00 2001 From: birgits Date: Wed, 10 Jan 2024 15:03:28 -0800 Subject: [PATCH] Fix missing conda installation --- .github/workflows/tests-coverage.yml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/tests-coverage.yml b/.github/workflows/tests-coverage.yml index 56cf137..c6efca1 100644 --- a/.github/workflows/tests-coverage.yml +++ b/.github/workflows/tests-coverage.yml @@ -40,17 +40,17 @@ jobs: with: python-version: ${{ matrix.python-version }} - - name: Install dependencies (Linux) - if: runner.os == 'Linux' + - name: Set up Conda + if: runner.os == 'Windows' + uses: conda-incubator/setup-miniconda@v2 + with: + miniconda-version: "latest" + python-version: ${{ matrix.python-version }} + activate-environment: testenv + + - name: Install dependencies run: | python -m pip install --upgrade pip wheel setuptools - pip install .[dev] - - - name: Install dependencies (Windows) - if: runner.os == 'Windows' - run: - conda create -n testenv python=${{ matrix.python }} - conda activate testenv python -m pip install .[dev] - name: Run tests