Skip to content
Snippets Groups Projects

Pipeline update

Merged Jeremy M Fee requested to merge ghsc/users/jmfee/geomag-algorithms:pipeline-update into master
2 files
+ 118
47
Compare changes
  • Side-by-side
  • Inline
Files
2
+ 19
0
 
#! /bin/bash -ex
 
 
PYTHON_VERSION=${PYTHON_VERSION:-"3.8"}
 
 
 
if [ -f "/etc/profile.d/conda.sh" ]; then
 
# Add conda to path
 
source /etc/profile.d/conda.sh
 
fi
 
 
# Install Project Dependencies
 
conda config --add channels conda-forge
 
conda install python=${PYTHON_VERSION} obspy pycurl
 
pip install pipenv
 
pipenv --site-packages install --dev --pre --skip-lock
 
 
# Run Code Checks
 
pipenv run black --check .
 
pipenv run pytest --cov-report xml:cov.xml --cov=geomagio
Loading