Merge pull request #36 from openclimatefix/missing_unzip #59
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: | | |
pip install -e . | |
- name: run pytest | |
shell: bash -l {0} | |
run: | | |
python -m pytest |