Exclude 'step' from Sensitivity analysis by fixing step at full-progression 'step' #14238
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: Build and Test Workflow | |
| on: | |
| workflow_dispatch: | |
| push: | |
| branches: [ main ] | |
| pull_request: | |
| branches: [ main ] | |
| jobs: | |
| tests-and-coverage: | |
| name: Tests with latest BoTorch | |
| uses: ./.github/workflows/reusable_test.yml | |
| with: | |
| pinned_botorch: false | |
| secrets: inherit | |
| docs: | |
| runs-on: ubuntu-latest | |
| env: | |
| # `uv pip ...` requires venv by default. This skips that requirement. | |
| UV_SYSTEM_PYTHON: 1 | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v5 | |
| - name: Set up Python | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: "3.12" | |
| - name: Install dependencies | |
| env: | |
| ALLOW_LATEST_GPYTORCH_LINOP: true | |
| run: | | |
| # use latest Botorch | |
| uv pip install git+https://github.com/cornellius-gp/linear_operator.git | |
| uv pip install git+https://github.com/cornellius-gp/gpytorch.git | |
| uv pip install git+https://github.com/pytorch/botorch.git | |
| uv pip install -e ".[unittest]" | |
| - name: Run Sphinx | |
| # run even if previous step (validate Sphinx) failed | |
| if: ${{ always() }} | |
| run: | | |
| # warnings no longer treated as errors. | |
| sphinx-build -T --keep-going sphinx/source sphinx/build |