Merge pull request #40 from fkroeber/cache #60
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: Tests | |
on: push | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout | |
uses: actions/checkout@v2 | |
- name: setup-conda-environment | |
uses: conda-incubator/setup-miniconda@v2 | |
with: | |
activate-environment: semantique | |
- name: install-package-requirements | |
shell: bash -l {0} | |
run: | | |
conda config --add channels conda-forge | |
conda config --set channel_priority strict | |
conda install geocube datacube | |
- name: install-package | |
shell: bash -l {0} | |
run: | | |
pip install -e . | |
- name: test | |
shell: bash -l {0} | |
run: | | |
python -m unittest discover |