373 shift prior means for log logit settings #1580
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: Run tests | |
on: | |
pull_request: | |
jobs: | |
run_tests: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
shell: bash -el {0} | |
strategy: | |
fail-fast: true | |
matrix: | |
python-version: ["3.10", "3.11"] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup miniconda | |
uses: conda-incubator/setup-miniconda@v3 | |
with: | |
python-version: ${{ matrix.python-version }} | |
miniforge-variant: Mambaforge | |
mamba-version: "*" | |
channels: conda-forge,defaults | |
channel-priority: true | |
- name: install pymc and poetry | |
run: | | |
mamba info | |
mamba install -c conda-forge pymc=5.10 poetry | |
- name: install hssm | |
run: | | |
poetry export --with dev --output=requirements.txt | |
pip install -r requirements.txt | |
pip install -e . | |
- name: Run mypy | |
run: mypy src | |
- name: Check styling | |
run: black . --check | |
- name: Linting | |
run: ruff check . | |
- name: Run tests | |
run: pytest -n auto -s | |
- name: build docs | |
run: mkdocs build |