183 add dask parallelism for cube single field imaging #2
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
| # Verify the shared imaging-parameter docstrings stay in sync with the central | |
| # registry (src/astroviper/processing_functions/imaging/_param_docs.py). | |
| # The codegen runs as a standalone script and only needs libcst, so no package | |
| # build / C++ compile is required. | |
| name: Imaging parameter docs | |
| on: | |
| push: | |
| paths: | |
| - 'src/astroviper/distributed_graphs/imaging/**.py' | |
| - 'src/astroviper/node_tasks/imaging/**.py' | |
| - 'src/astroviper/processing_functions/imaging/**.py' | |
| - 'src/astroviper/utils/param_docs.py' | |
| pull_request: | |
| paths: | |
| - 'src/astroviper/distributed_graphs/imaging/**.py' | |
| - 'src/astroviper/node_tasks/imaging/**.py' | |
| - 'src/astroviper/processing_functions/imaging/**.py' | |
| - 'src/astroviper/utils/param_docs.py' | |
| jobs: | |
| param-docs-check: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.11' | |
| - name: Install libcst | |
| run: python -m pip install --upgrade pip libcst | |
| - name: Check imaging parameter docstrings are in sync with the registry | |
| run: | | |
| python src/astroviper/utils/param_docs.py check \ | |
| || (echo "::error::Imaging parameter docstrings are out of sync. Run \`python -m astroviper.utils.param_docs sync\` and commit." && exit 1) |