From bd256979d8b76e110b1bda4007c85f9330eab7ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dieter=20Werthm=C3=BCller?= Date: Fri, 15 Jan 2021 12:21:19 +0100 Subject: [PATCH] Fix GitHub Action (miniconda to mambaforge) (#114) --- .github/workflows/pytest.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml index 083259a9..139c5a16 100644 --- a/.github/workflows/pytest.yml +++ b/.github/workflows/pytest.yml @@ -6,6 +6,7 @@ on: push: branches: - master + - dev release: types: - published @@ -102,12 +103,9 @@ jobs: with: auto-update-conda: true miniconda-version: "latest" - mamba-version: "*" python-version: ${{ matrix.case.python-version }} - activate-environment: tenv - auto-activate-base: false - channels: conda-forge,defaults - channel-priority: strict + miniforge-variant: Mambaforge + use-mamba: true - name: Install dependencies shell: bash -l {0} @@ -115,7 +113,7 @@ jobs: conda config --set always_yes yes --set changeps1 no conda config --show-sources conda config --show - mamba install ${{ matrix.case.conda }} pytest pytest-cov pip + conda install ${{ matrix.case.conda }} pytest pytest-cov pip pip install setuptools_scm coveralls pytest-flake8 ${{ matrix.case.pip }} conda info -a conda list