Commit 161882c0 authored by Daniel Scheffler's avatar Daniel Scheffler
Browse files

Revised test_geoarray_install CI job (now uses mamba and environment_geoarray.yml).


Signed-off-by: Daniel Scheffler's avatarDaniel Scheffler <danschef@gfz-potsdam.de>
parent 3ff85860
Pipeline #26326 passed with stages
in 2 minutes and 21 seconds
......@@ -56,28 +56,20 @@ test_geoarray_install:
stage: test
script:
- source /root/miniconda3/bin/activate
- conda install -c conda-forge mamba
- mamba update -n base -c conda-forge --all
# update conda and python
- conda update -n base -c conda-forge conda
# - conda update -c conda-forge python
# create geoarray environment from environment_geoarray.yml
- mamba env create --name geoarray_test -f tests/CI_docker/context/environment_geoarray.yml
- conda activate enpt_test
# create test environment
- conda create -y -q -c conda-forge --name geoarray_testinstall python=3
- conda activate geoarray_testinstall
# avoid package incompatibilities due to usage of wrong channels
# - conda config --set channel_priority strict # otherwise gdal or libgdal may be installed from defaults channel
# resolve some requirements with conda
- conda install --yes -q -c conda-forge numpy scikit-image matplotlib geopandas gdal pyproj cartopy shapely
# run installer
- python setup.py install
# test if its importable
# install geoarray
- pip install -e .
- cd ..
- pwd
- ls
# test importability
- python -c "import geoarray; print(geoarray)"
- python -c "from geoarray import GeoArray"
only:
......
......@@ -14,6 +14,7 @@ History
* Fixed unsupported band-specific nodata values in case of ENVI output format.
* Added two tests that validate the metadata written by GeoArray.save() for ENVI and GTiff format.
* Track tif and bsq files with git-lfs.
* Revised test_geoarray_install CI job (now uses mamba and environment_geoarray.yml).
0.14.0 (2021-07-26)
......
name: geoarray
channels: &id1
- http://conda.anaconda.org/conda-forge
- conda-forge
dependencies:
- python=3.*.*
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment