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