Skip to content

Merge pull request #1526 from k-shep/Issue-1525-Put-log-likelihood-cl… #1352

Merge pull request #1526 from k-shep/Issue-1525-Put-log-likelihood-cl…

Merge pull request #1526 from k-shep/Issue-1525-Put-log-likelihood-cl… #1352

Workflow file for this run

name: Doctest
on:
push:
branches:
- main
pull_request:
# Run workflow when PR is changed, or when changed from draft to ready
types: [opened, synchronize, reopened, ready_for_review]
branches:
- '**'
jobs:
build-and-test:
name: Docs
runs-on: ubuntu-latest
# Skip job if it's a draft PR
if: github.event.pull_request.draft == false
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.11'
- name: install pints
run: |
python --version
python -m pip install --upgrade pip setuptools wheel
python -m pip install .
python -m pip install .[docs]
- name: run doctest
run: |
python run-tests.py --doctest