Skip to content

Commit 916e5b2

Browse files
updates
1 parent f6105b0 commit 916e5b2

3 files changed

Lines changed: 16 additions & 17 deletions

File tree

.github/workflows/release.yaml

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,12 +53,25 @@ jobs:
5353

5454

5555
deploy:
56-
runs-on: ubuntu-latest
5756
needs:
5857
- release
58+
if: startsWith(github.ref, 'refs/tags/')
59+
runs-on: ubuntu-latest
60+
5961
steps:
62+
- uses: actions/checkout@v2
63+
- name: Set up Python
64+
uses: actions/setup-python@v2
65+
with:
66+
python-version: '3.8'
67+
- name: Install dependencies
68+
run: |
69+
python -m pip install --upgrade pip
70+
pip install setuptools wheel
71+
- name: Build and publish
72+
run: |
73+
python setup.py sdist bdist_wheel
6074
- name: Publish package
61-
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
6275
uses: pypa/gh-action-pypi-publish@master
6376
with:
6477
user: __token__

btrdb/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
__version_info__ = {
1919
'major': 5,
2020
'minor': 10,
21-
'micro': 0,
21+
'micro': 1,
2222
'releaselevel': 'final',
2323
'serial': 15,
2424
}

tests/btrdb/test_base.py

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -22,25 +22,11 @@
2222
from btrdb import connect, __version__, BTRDB_ENDPOINTS, BTRDB_API_KEY
2323
from btrdb.exceptions import ConnectionError
2424

25-
##########################################################################
26-
## Test Constants
27-
##########################################################################
28-
29-
EXPECTED_VERSION = "5.10"
30-
3125

3226
##########################################################################
3327
## Initialization Tests
3428
##########################################################################
3529

36-
class TestPackage(object):
37-
38-
def test_version(self):
39-
"""
40-
Assert that the test version matches the library version.
41-
"""
42-
assert __version__ == EXPECTED_VERSION
43-
4430
class TestConnect(object):
4531

4632
def setup(self):

0 commit comments

Comments
 (0)