-
Notifications
You must be signed in to change notification settings - Fork 121
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CI and version string bump for
v0.5.1
(#149)
* include testing on newer python versions * bump version string * linting: remove print statements from tests * fix: improve robustness of and add a test #141 * fix: add init to test data module * fix: add init to remaining test data modules * tests: add tests with github actions * tests: add tests with github actions * tests: rename build job * update changelog --------- Co-authored-by: Arian Jamasb <[email protected]>
- Loading branch information
Showing
14 changed files
with
207 additions
and
115 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
name: tests | ||
|
||
on: | ||
push: | ||
paths-ignore: | ||
- "README.md" | ||
- "docs/**" | ||
- "CHANGELOG.md" | ||
|
||
pull_request: | ||
paths-ignore: | ||
- "README.md" | ||
- "docs/*" | ||
- "CHANGELOG.md" | ||
|
||
jobs: | ||
build_biopandas: | ||
runs-on: ubuntu-latest | ||
# https://github.com/marketplace/actions/setup-miniconda#use-a-default-shell | ||
defaults: | ||
run: | ||
shell: bash -l {0} | ||
|
||
strategy: | ||
matrix: | ||
python-version: [3.7, 3.8, 3.9, "3.10", 3.11] | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v3 | ||
# See: https://github.com/marketplace/actions/setup-miniconda | ||
- name: Setup miniconda | ||
uses: conda-incubator/setup-miniconda@v2 | ||
with: | ||
auto-update-conda: true | ||
miniforge-variant: Mambaforge | ||
conda-channels: conda-forge | ||
python-version: ${{ matrix.python-version }} | ||
use-mamba: true | ||
- name: Install BioPandas | ||
run: pip install -e . | ||
- name: Install Dev Dependencies | ||
run: pip install mmtf-python numpy scipy pandas pytest looseversion importlib_resources | ||
- name: Run unit tests and generate coverage report | ||
run: pytest -s -v |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,5 +24,5 @@ | |
# 'X.Y.dev0' is the canonical version of 'X.Y.dev' | ||
# | ||
|
||
__version__ = "0.5.1dev" | ||
__version__ = "0.5.1" | ||
__author__ = "Sebastian Raschka <[email protected]>" |
Oops, something went wrong.