-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.gitlab-ci.yml
More file actions
21 lines (19 loc) · 846 Bytes
/
.gitlab-ci.yml
File metadata and controls
21 lines (19 loc) · 846 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
image: continuumio/miniconda:latest
before_script:
- . /opt/conda/etc/profile.d/conda.sh && conda activate base
- export PYTHONUNBUFFERED=true
- conda update -y -q -n base conda
# curl and unzip are used to download figshare files
- conda install -y -q -c conda-forge curl unzip
- conda install -y -q -c conda-forge matplotlib
- conda install -y -q -c omnia ipynbtest
- curl -OLk https://raw.githubusercontent.com/openpathsampling/openpathsampling/master/devtools/conda_ops_dev_install.sh
- source ./conda_ops_dev_install.sh
- conda list
test:
script:
#- export MPLBACKEND=PS
- NOTEBOOKS=`python devtools/select_notebooks.py --skip-file devtools/skip`
# if you only want to test one notebook
# - NOTEBOOKS="my_notebook_name" # without the .ipynb extension!
- source ./devtools/run_tests.sh $NOTEBOOKS