Use fit_gpytorch_model or fit.fit_gpytorch_mll depening on the botorc… #770
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
name: QualityChecks | |
on: | |
push: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
check-and-test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: ["3.8", "3.9", "3.10", "3.11"] | |
fail-fast: false | |
name: Python-${{ matrix.python-version }} | |
steps: | |
#---------------------------------------------- | |
# check-out repo and set-up python | |
#---------------------------------------------- | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
#---------------------------------------------- | |
# install | |
#---------------------------------------------- | |
- name: Install dependencies | |
run: GK_REQUIREMENTS=test_requirements-${{ matrix.python-version }}.txt make install | |
#---------------------------------------------- | |
# Lint and test | |
#---------------------------------------------- | |
- name: Run lint | |
run: make lint | |
- name: Run tests | |
run: make test |