Skip to content

Merge pull request #63 from TheJacksonLaboratory/impl-definition-xrefs #166

Merge pull request #63 from TheJacksonLaboratory/impl-definition-xrefs

Merge pull request #63 from TheJacksonLaboratory/impl-definition-xrefs #166

Workflow file for this run

name: CI
on:
push:
branches: [ development ]
pull_request:
branches: [ main, development ]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ windows-latest, macOS-latest, ubuntu-latest ]
python: [ "3.8", "3.9", "3.10", "3.11" ]
steps:
- uses: actions/checkout@v2
- name: Initialize Python ${{ matrix.python }}
uses: actions/setup-python@v4.3.1
with:
python-version: ${{ matrix.python }}
- name: Install hpo-toolkit
run: |
python3 -m pip install --editable .[test,docs]
- name: Run tests
run: |
pytest
- name: Run documentation tests
run: |
cd docs
sphinx-apidoc --separate --module-first -d 2 -H "API reference" -o apidocs ../src/hpotk
make doctest