Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Misc fixes #94

Merged
merged 5 commits into from
Oct 5, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 3 additions & 10 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,23 +39,16 @@ jobs:

- name: Install conda packages
shell: bash -l {0}
run: mamba install -c conda-forge biom-format patsy pytest xarray scikit-bio flake8 arviz

# Temp req before CmdStanPy cuts a new release
- name: Install develop branch of CmdStanPy
shell: bash -l {0}
run: >
pip install git+https://github.com/stan-dev/cmdstanpy.git@develop;
install_cmdstan
run: mamba install -c conda-forge biom-format patsy pytest xarray scikit-bio flake8 arviz cmdstanpy pytest-cov

- name: Install BIRDMAn
shell: bash -l {0}
run: pip install -e .[dev]

- name: Check style
shell: bash -l {0}
run: flake8 birdman/*.py tests/*.py setup.py
run: make stylecheck

- name: Run tests
shell: bash -l {0}
run: pytest --disable-pytest-warnings
run: make pytest
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,4 @@ tests/custom_model
/build
docs/_build
tags
.coverage*
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ stylecheck:
flake8 birdman/*.py tests/*.py setup.py

pytest:
pytest tests -W ignore::FutureWarning
pytest --cov-report term-missing --cov=birdman --cov-branch tests

documentation:
cd docs && make html
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# BIRDMAn

[![GitHub Actions CI](https://github.com/gibsramen/birdman/workflows/BIRDMAn%20CI/badge.svg)](https://github.com/gibsramen/BIRDMAn/actions)
[![GitHub Actions CI](https://github.com/biocore/birdman/workflows/BIRDMAn%20CI/badge.svg)](https://github.com/biocore/BIRDMAn/actions)
[![Documentation Status](https://readthedocs.org/projects/birdman/badge/?version=stable)](https://birdman.readthedocs.io/en/stable/?badge=stable)
[![PyPI](https://img.shields.io/pypi/v/birdman.svg)](https://pypi.org/project/birdman)
[![DOI](https://zenodo.org/badge/312046610.svg)](https://zenodo.org/badge/latestdoi/312046610)
Expand All @@ -11,7 +11,9 @@ See the [documentation](https://birdman.readthedocs.io/en/stable/?badge=stable)

## Installation

Currently BIRDMAn requires Python 3.7 or higher.
Currently BIRDMAn requires Python 3.8 or higher.

We recommend using [mamba](https://github.com/mamba-org/mamba) for installation of dependencies.

```bash
conda install -c conda-forge biom-format patsy xarray arviz cmdstanpy
Expand Down
1 change: 1 addition & 0 deletions pytest.ini
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
[pytest]
filterwarnings =
ignore::DeprecationWarning
ignore::FutureWarning
Loading