Add GitHub Actions workflow to notify Zulip on release #14
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 CI | |
| on: | |
| pull_request: | |
| permissions: | |
| contents: read | |
| concurrency: | |
| group: pr-ci-${{ github.event.pull_request.number }} | |
| cancel-in-progress: true | |
| jobs: | |
| regression: | |
| name: Regression | |
| runs-on: ubuntu-24.04 | |
| timeout-minutes: 30 | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 | |
| - name: Setup Conda | |
| uses: conda-incubator/setup-miniconda@8ee1f361103df19b6f8c8655fd3967a8ecb162d5 # v4 | |
| with: | |
| miniforge-variant: Miniforge3 | |
| auto-activate: true | |
| activate-environment: base | |
| conda-remove-defaults: true | |
| channels: conda-forge,bioconda | |
| channel-priority: strict | |
| - name: Install conda-build | |
| shell: bash -l {0} | |
| run: | | |
| conda install -y \ | |
| --override-channels \ | |
| -c conda-forge \ | |
| conda-build | |
| - name: Build and run regression tests | |
| shell: bash -l {0} | |
| run: | | |
| conda build conda-recipe \ | |
| --override-channels \ | |
| -c conda-forge \ | |
| -c bioconda \ | |
| --no-anaconda-upload | |
| docs: | |
| name: Docs | |
| runs-on: ubuntu-24.04 | |
| timeout-minutes: 20 | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 | |
| - name: Set up Python 3.14 | |
| uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 | |
| with: | |
| python-version: "3.14" | |
| - name: Install documentation dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| python -m pip install -r docs/requirements.txt | |
| - name: Build documentation | |
| run: | | |
| make -C docs clean | |
| make -C docs html SPHINXOPTS="-W --keep-going" | |
| - name: Upload documentation | |
| if: success() | |
| uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7 | |
| with: | |
| name: docs-html | |
| path: docs/build/html/ | |
| if-no-files-found: error | |
| retention-days: 7 |