Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Renamed and updated script #33

Merged
merged 1 commit into from
Mar 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion placekey/__version__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '0.0.16'
__version__ = '0.0.16.2'
Loading