From 19921867f8ed95629edc36bb9fb50854b3b4a8ea Mon Sep 17 00:00:00 2001 From: Maxime Liquet <35924738+maximlt@users.noreply.github.com> Date: Mon, 3 Oct 2022 18:11:22 +0200 Subject: [PATCH] CI: fix the tests on Windows (#591) --- .github/workflows/test.yaml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index d3162aaa..be87cf92 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -42,14 +42,13 @@ jobs: run: git fetch --prune --tags --unshallow - name: conda setup run: | - conda install -n base -c defaults "conda>=4.12" conda install -n base -c conda-forge mamba --no-update-deps conda install -c conda-forge "nodejs=15.3.0" --no-update-deps - conda config --prepend channels nodefaults - conda config --prepend channels conda-forge - conda config --prepend channels pyviz/label/dev - conda config --remove channels defaults - conda create -n test-environment python=${{ matrix.python-version }} pyctdev + conda create -n test-environment + conda activate test-environment + conda config --env --append channels pyviz/label/dev --append channels conda-forge + conda config --env --remove channels defaults + conda install python=${{ matrix.python-version }} pyctdev - name: doit develop_install run: | eval "$(conda shell.bash hook)"