Skip to content

Commit ea7e8a6

Browse files
committed
Fix missing conda installation
1 parent 64cb2d3 commit ea7e8a6

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

.github/workflows/tests-coverage.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -40,17 +40,17 @@ jobs:
4040
with:
4141
python-version: ${{ matrix.python-version }}
4242

43-
- name: Install dependencies (Linux)
44-
if: runner.os == 'Linux'
43+
- name: Set up Conda
44+
if: runner.os == 'Windows'
45+
uses: conda-incubator/setup-miniconda@v2
46+
with:
47+
miniconda-version: "latest"
48+
python-version: ${{ matrix.python-version }}
49+
activate-environment: testenv
50+
51+
- name: Install dependencies
4552
run: |
4653
python -m pip install --upgrade pip wheel setuptools
47-
pip install .[dev]
48-
49-
- name: Install dependencies (Windows)
50-
if: runner.os == 'Windows'
51-
run:
52-
conda create -n testenv python=${{ matrix.python }}
53-
conda activate testenv
5454
python -m pip install .[dev]
5555
5656
- name: Run tests

0 commit comments

Comments
 (0)