Skip to content

Commit

Permalink
updates
Browse files Browse the repository at this point in the history
  • Loading branch information
looselycoupled committed Nov 10, 2020
1 parent f6105b0 commit 916e5b2
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 17 deletions.
17 changes: 15 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,25 @@ jobs:


deploy:
runs-on: ubuntu-latest
needs:
- release
if: startsWith(github.ref, 'refs/tags/')
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.8'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install setuptools wheel
- name: Build and publish
run: |
python setup.py sdist bdist_wheel
- name: Publish package
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@master
with:
user: __token__
Expand Down
2 changes: 1 addition & 1 deletion btrdb/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
__version_info__ = {
'major': 5,
'minor': 10,
'micro': 0,
'micro': 1,
'releaselevel': 'final',
'serial': 15,
}
Expand Down
14 changes: 0 additions & 14 deletions tests/btrdb/test_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,25 +22,11 @@
from btrdb import connect, __version__, BTRDB_ENDPOINTS, BTRDB_API_KEY
from btrdb.exceptions import ConnectionError

##########################################################################
## Test Constants
##########################################################################

EXPECTED_VERSION = "5.10"


##########################################################################
## Initialization Tests
##########################################################################

class TestPackage(object):

def test_version(self):
"""
Assert that the test version matches the library version.
"""
assert __version__ == EXPECTED_VERSION

class TestConnect(object):

def setup(self):
Expand Down

0 comments on commit 916e5b2

Please sign in to comment.