Skip to content

uses: conda-incubator/setup-miniconda@v2 #10

uses: conda-incubator/setup-miniconda@v2

uses: conda-incubator/setup-miniconda@v2 #10

Workflow file for this run

name: Conda pytest
on: push
jobs:
push_to_registry:
name: Build docker file for testing
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v2
- uses: conda-incubator/setup-miniconda@v2
with:
miniconda-version: "latest"
channels: bioconda, conda-forge, defaults
auto-update-conda: true
auto-activate-base: true
- name: Install the conda
shell: bash -l {0}
run: |
conda install -c conda-forge xesmf esmpy -y
- name: Install the repo
shell: bash -l {0}
run: |
which python
pip install -e .
- name: run pytest
shell: bash -l {0}
run: |
conda init
export ESMFMKFILE='/usr/share/miniconda/lib/esmf.mk'
conda activate test
which python
python -m pytest