Skip to content

Commit

Permalink
chore: update publish-to-pypi.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
tyiuhc committed Aug 27, 2024
1 parent d8c62c4 commit 002c47c
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/publish-to-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ on:

jobs:
authorize:
environment: Unit Test
name: Authorize
runs-on: ubuntu-latest
steps:
Expand All @@ -36,9 +37,14 @@ jobs:
python-version: 3.7

- name: Install dependencies
run: python -m pip install build setuptools wheel twine amplitude_analytics parameterized python-semantic-release==7.34.6
run: python -m pip install build setuptools wheel twine amplitude_analytics parameterized python-dotenv~=0.21.1 python-semantic-release==7.34.6

- name: Run Test
env:
API_KEY: ${{ secrets.API_KEY }}
SECRET_KEY: ${{ secrets.SECRET_KEY }}
EU_API_KEY: ${{ secrets.EU_API_KEY }}
EU_SECRET_KEY: ${{ secrets.EU_SECRET_KEY }}
run: python -m unittest discover -s ./tests -p '*_test.py'

- name: Publish distribution PyPI --dry-run
Expand Down

0 comments on commit 002c47c

Please sign in to comment.