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

Pk iterating on test query #35

Merged
merged 3 commits 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
34 changes: 11 additions & 23 deletions .github/workflows/build-and-deploy-release-pypi.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
name: Build and Upload Python Package

# on:
# release:
# types: [push]
on:
release:
types: [published]

on: [push]

permissions:
contents: read
Expand Down Expand Up @@ -33,25 +32,14 @@ jobs:
- name: Check distribution
run: twine check dist/*

# - name: Upload to TestPyPI
# env:
# TWINE_PASSWORD: ${{ secrets.TEST_PYPI_API_TOKEN}}
# run: |
# twine upload --repository testpypi dist/*

- name: Install package from TestPyPI
- name: Upload to TestPyPI
env:
TWINE_PASSWORD: ${{ secrets.TEST_PYPI_API_TOKEN}}
run: |
python -m pip install --upgrade pip
pip install --index-url https://test.pypi.org/simple/ placekey==0.0.16.2
pip install h3 shapely requests ratelimit backoff
twine upload --repository testpypi dist/*

- name: Run test query script
- name: Upload to PyPi
env:
PLACEKEY_API_KEY: ${{ secrets.PLACEKEY_API_KEY }}
run: python run_test_query.py

# - name: Upload to PyPi
# env:
# TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN}}
# run: |
# twine upload dist/*
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN}}
run: |
twine upload dist/*
19 changes: 0 additions & 19 deletions run_test_query.py

This file was deleted.

Loading