Organizing notebooks by instrument #280
Workflow file for this run
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
## Workflow to run when there is a direct push to the main branch, or a PR is submitted. | |
## The workflow runs three workflows - Valdation, Execution, and HTML Deployment. | |
## The jobs are dependent on the previous succeding - if valdiation fails, the rest will, if | |
## execution fails, html deployment will not run. | |
## Each job runs on its own runner with an independent environment, with the exception of the | |
## HTML generation, which occurs on a single runner using the global environment. | |
name: Notebook Execution and Validation | |
on: | |
pull_request: | |
branches: | |
- main | |
paths: | |
- 'notebooks/**.ipynb' | |
- '*.yml' | |
#permissions: | |
# contents: write | |
# id-token: write | |
# issues: write | |
# pull-requests: write | |
jobs: | |
NotebookExecutionValidation: | |
uses: spacetelescope/notebook-ci-actions/.github/workflows/ci_runner.yml@v4 | |
with: | |
python-version: ${{ vars.PYTHON_VERSION || '3.11' }} | |
permissions: | |
contents: write | |