Commit cb86d932 authored by Marius Kriegerowski's avatar Marius Kriegerowski
Browse files

add missing dependencies and switch CI base container

parent 79874ee7
image: python:3-buster image: debian:buster-slim
variables:
PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache/pip"
cache:
paths:
- .cache/pip
- venv/
before_script: before_script:
- python3 -V - apt-get update
- apt-get install -y python3 git python3-pip
- pip3 install virtualenv
- virtualenv venv
- source venv/bin/activate
- pip3 install .
- pip3 install pytest-cov - pip3 install pytest-cov
- pip3 install .[tests] - pip3 install .[tests]
- pip3 install .
formatting: formatting:
script: script:
......
...@@ -10,7 +10,10 @@ setup( ...@@ -10,7 +10,10 @@ setup(
description="", description="",
license="AGPLv3+", license="AGPLv3+",
extras_require={"tests": test_requirements}, extras_require={"tests": test_requirements},
install_requires=[], install_requires=[
"openquake.engine",
"geopandas",
],
packages=find_packages(), packages=find_packages(),
python_requires=">=3.7", python_requires=">=3.7",
) )
...@@ -24,7 +24,7 @@ SITE_PROPERTIES = { ...@@ -24,7 +24,7 @@ SITE_PROPERTIES = {
"backarc": np.bool, # Site is in the subduction backarc (True) or else "backarc": np.bool, # Site is in the subduction backarc (True) or else
"region": np.int32, # Region to which the site belongs "region": np.int32, # Region to which the site belongs
"geology": (np.string_, 20) # Geological classification for the site "geology": (np.string_, 20) # Geological classification for the site
} }
# In some cases reasonable default values can be used for relevant ground motion models # In some cases reasonable default values can be used for relevant ground motion models
......
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