Skip to content

Setup release workflow #73

Setup release workflow

Setup release workflow #73

Workflow file for this run

name: CI
on:
push:
branches: [ develop ]
pull_request:
branches: [ main, develop ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Initialize Python 3.11
uses: actions/[email protected]
with:
python-version: "3.11"
- name: Install package
run: |
python3 -m pip install .[test,docs]
- name: Run pytest tests
run: |
pytest
- name: Run documentation tests
run: |
cd docs
sphinx-apidoc --separate --module-first -d 2 -H "API reference" -o apidocs ../src/genophenocorr
make doctest