From af4950d92f4d0819e4f950f08098018db7732999 Mon Sep 17 00:00:00 2001 From: maximlt Date: Mon, 3 Oct 2022 16:56:13 +0200 Subject: [PATCH 1/2] config the channels of the working env --- .github/workflows/test.yaml | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index d3162aaa..fd704b60 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -17,8 +17,10 @@ jobs: strategy: fail-fast: false matrix: - os: ['ubuntu-latest', 'macos-latest', 'windows-latest'] - python-version: ['3.7', '3.8', '3.9', '3.10'] + os: ['windows-latest'] + # os: ['ubuntu-latest', 'macos-latest', 'windows-latest'] + python-version: ['3.8', '3.9'] + # python-version: ['3.7', '3.8', '3.9', '3.10'] timeout-minutes: 60 defaults: run: @@ -42,14 +44,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)" From 543716f1e5d3a3cc68e5f5a35e985458f8d26439 Mon Sep 17 00:00:00 2001 From: maximlt Date: Mon, 3 Oct 2022 17:10:56 +0200 Subject: [PATCH 2/2] reset matrix --- .github/workflows/test.yaml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index fd704b60..be87cf92 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -17,10 +17,8 @@ jobs: strategy: fail-fast: false matrix: - os: ['windows-latest'] - # os: ['ubuntu-latest', 'macos-latest', 'windows-latest'] - python-version: ['3.8', '3.9'] - # python-version: ['3.7', '3.8', '3.9', '3.10'] + os: ['ubuntu-latest', 'macos-latest', 'windows-latest'] + python-version: ['3.7', '3.8', '3.9', '3.10'] timeout-minutes: 60 defaults: run: