Transfer matrix integration #28
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Pull Request | |
on: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout github repo | |
uses: actions/checkout@v3 | |
- name: Lint | |
uses: psf/black@stable | |
- name: Setup python | |
uses: actions/setup-python@v4 | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade jupyter matplotlib | |
- name: Build and install | |
run: | | |
python -m pip install -e . | |
- name: Run tutorial to test | |
working-directory: docs/notebooks | |
run: | | |
jupyter nbconvert --to script XFaster_Tutorial.ipynb | |
python XFaster_Tutorial.py |