-
Notifications
You must be signed in to change notification settings - Fork 27
/
appveyor.yml
33 lines (27 loc) · 1.16 KB
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#-------------------------------------------------------------------------------
#System specifications for Appveyor
#-------------------------------------------------------------------------------
environment:
matrix:
- PYTHON_VERSION: "3.10"
MINICONDA: "C:\\Miniconda3-x64"
install:
- 'SET PATH=%MINICONDA%;%MINICONDA%\\Scripts;%PATH%'
- conda config --set always_yes yes
- conda update -q conda
- conda config --prepend channels conda-forge
- conda config --set channel_priority strict
#-----------------------------------------------------------------------------
# Create conda environment for geocube
#-----------------------------------------------------------------------------
- conda create -n test python=%PYTHON_VERSION% odc-geo geopandas rioxarray rasterio scipy xarray
- activate test
#-------------------------------------------------------------------------------
# Install geocube
#-------------------------------------------------------------------------------
- python -m pip install -r requirements/test.txt
- python -m pip install .
build: false
test_script:
- pytest --cov-report term-missing --cov=geocube
- geocube --version