Skip to content

joss workflow part 2 #133

joss workflow part 2

joss workflow part 2 #133

Workflow file for this run

name: Python tests
on:
push:
branches:
- main
- dev
jobs:
prop-and-fit:
runs-on: macos-latest
steps:
- name: Checkout repo
uses: actions/checkout@v3
with:
submodules: true
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: 3.8
- name: Install GRSS (including dependencies)
run: |
python3 -m pip install --upgrade pip
source initialize.sh
pip3 install .
- name: Run tests
run: |
python3 -m pip install jupyter ipykernel
python3 -m ipykernel install --user
cd tests/python
jupyter nbconvert --to script fit/*.ipynb
jupyter nbconvert --to script prop/*.ipynb
python fit/*.py
python prop/*.py