diff --git a/.github/workflows/build-and-deploy-pypi.yml b/.github/workflows/build-and-deploy-release-pypi.yml similarity index 84% rename from .github/workflows/build-and-deploy-pypi.yml rename to .github/workflows/build-and-deploy-release-pypi.yml index e655bf9..b71a64d 100644 --- a/.github/workflows/build-and-deploy-pypi.yml +++ b/.github/workflows/build-and-deploy-release-pypi.yml @@ -37,15 +37,13 @@ jobs: run: | twine upload --repository testpypi dist/* - - name: Install package from TestPyPI - run: | - pip install --index-url https://test.pypi.org/simple/ placekey - pip install h3 shapely requests ratelimit backoff - - - name: Run test Query + - name: Install package from TestPyPI and run test query env: PLACEKEY_API_KEY: ${{ secrets.PLACEKEY_API_KEY }} run: | + python -m pip install --upgrade pip + python -m pip install --index-url https://test.pypi.org/simple/ placekey + python -m pip install h3 shapely requests ratelimit backoff python -c "import os; from placekey.api import PlacekeyAPI; api = PlacekeyAPI(api_key=os.environ['PLACEKEY_API_KEY'], user_agent_comment='placekey-py-tests'); place = {'location_name': 'Pinecrest Food Market', 'street_address': '401 Pinecrest Lake Rd', 'city': 'Pinecrest', 'region': 'CA', 'postal_code': '95364', 'iso_country_code': 'US'}; print(api.lookup_placekeys([place], verbose=True))" - name: Upload to PyPi diff --git a/placekey/__version__.py b/placekey/__version__.py index 19c6940..1845bd3 100644 --- a/placekey/__version__.py +++ b/placekey/__version__.py @@ -1 +1 @@ -__version__ = '0.0.16' +__version__ = '0.0.16.2'