Skip to content

Test Suite

Test Suite #488

Workflow file for this run

name: "Test Suite"
on:
pull_request:
branches:
- master
push:
branches:
- master
schedule:
- cron: "0 4 * * *"
defaults:
run:
shell: bash -l {0}
jobs:
tests:
runs-on: ubuntu-latest
name: "Notebook tests"
strategy:
matrix:
CONDA_PY:
- 3.7
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- uses: conda-incubator/setup-miniconda@v2
with:
python-version: ${{ matrix.CONDA_PY }}
miniforge-variant: Mambaforge
- name: "Install"
run: |
curl -OLk https://raw.githubusercontent.com/openpathsampling/openpathsampling/master/devtools/conda_ops_dev_install.sh
source ./conda_ops_dev_install.sh
mamba install -y -q -c conda-forge curl unzip matplotlib pytest nbval
- name: "Versions"
run: conda list
- name: "Tests"
run: |
NOTEBOOKS=`python devtools/select_notebooks.py --skip-file devtools/skip`
source ./devtools/run_tests.sh $NOTEBOOKS