Migrate gcorr iteration script to library entry point #117
Workflow file for this run
This file contains hidden or 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@v4 | |
| - name: Lint | |
| uses: psf/black@stable | |
| with: | |
| version: "23.7.0" | |
| - name: Setup python | |
| uses: actions/setup-python@v4 | |
| with: | |
| python-version: "3.11" | |
| - name: Install dependencies | |
| run: | | |
| python -m pip install --upgrade jupyter matplotlib | |
| - name: Build and install | |
| run: | | |
| python -m pip install . | |
| - name: Run tutorial to test | |
| working-directory: docs/notebooks | |
| run: | | |
| jupyter nbconvert --to script XFaster_Tutorial.ipynb | |
| python XFaster_Tutorial.py |