Skip to content

Commit 04daaa6

Browse files
a-r-jArian Jamasb
and
Arian Jamasb
authored
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]>
1 parent 5fa2104 commit 04daaa6

14 files changed

+207
-115
lines changed

.appveyor.yml

+9
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,15 @@ environment:
44
matrix:
55
- PYTHON_VERSION: 3.7
66
MINICONDA: C:\Miniconda3
7+
- PYTHON_VERSION: 3.8
8+
MINICONDA: C:\Miniconda3
9+
- PYTHON_VERSION: 3.9
10+
MINICONDA: C:\Miniconda3
11+
- PYTHON_VERSION: "3.10"
12+
MINICONDA: C:\Miniconda3
13+
- PYTHON_VERSION: 3.11
14+
MINICONDA: C:\Miniconda3
15+
716

817
init:
918
- ECHO %PYTHON_VERSION% %MINICONDA%

.github/workflows/tests.yaml

+44
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
name: tests
2+
3+
on:
4+
push:
5+
paths-ignore:
6+
- "README.md"
7+
- "docs/**"
8+
- "CHANGELOG.md"
9+
10+
pull_request:
11+
paths-ignore:
12+
- "README.md"
13+
- "docs/*"
14+
- "CHANGELOG.md"
15+
16+
jobs:
17+
build_biopandas:
18+
runs-on: ubuntu-latest
19+
# https://github.com/marketplace/actions/setup-miniconda#use-a-default-shell
20+
defaults:
21+
run:
22+
shell: bash -l {0}
23+
24+
strategy:
25+
matrix:
26+
python-version: [3.7, 3.8, 3.9, "3.10", 3.11]
27+
steps:
28+
- name: Checkout repository
29+
uses: actions/checkout@v3
30+
# See: https://github.com/marketplace/actions/setup-miniconda
31+
- name: Setup miniconda
32+
uses: conda-incubator/setup-miniconda@v2
33+
with:
34+
auto-update-conda: true
35+
miniforge-variant: Mambaforge
36+
conda-channels: conda-forge
37+
python-version: ${{ matrix.python-version }}
38+
use-mamba: true
39+
- name: Install BioPandas
40+
run: pip install -e .
41+
- name: Install Dev Dependencies
42+
run: pip install mmtf-python numpy scipy pandas pytest looseversion importlib_resources
43+
- name: Run unit tests and generate coverage report
44+
run: pytest -s -v

biopandas/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,5 @@
2424
# 'X.Y.dev0' is the canonical version of 'X.Y.dev'
2525
#
2626

27-
__version__ = "0.5.1dev"
27+
__version__ = "0.5.1"
2828
__author__ = "Sebastian Raschka <[email protected]>"

0 commit comments

Comments
 (0)