Skip to content

Commit

Permalink
Fix GitHub Action (miniconda to mambaforge) (#114)
Browse files Browse the repository at this point in the history
  • Loading branch information
prisae committed Jan 15, 2021
1 parent 4ac8acc commit bd25697
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/pytest.yml
Expand Up @@ -6,6 +6,7 @@ on:
push:
branches:
- master
- dev
release:
types:
- published
Expand Down Expand Up @@ -102,20 +103,17 @@ 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}
run: |
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
Expand Down

0 comments on commit bd25697

Please sign in to comment.