Skip to content

Commit

Permalink
Removed query test step #ci
Browse files Browse the repository at this point in the history
  • Loading branch information
jarredSafegraph committed Mar 25, 2024
1 parent 9bf6c79 commit 506ae69
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 42 deletions.
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.

0 comments on commit 506ae69

Please sign in to comment.