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

Add requests as a package dependency, add CI updates #2

Merged
merged 3 commits into from
Feb 25, 2022
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
9 changes: 7 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,9 @@ jobs:
poetry-version: ${{ matrix.poetry-version }}

- name: 🐍 Install dependencies
run: poetry install
run: |
pip install poetry-dynamic-versioning
poetry install
- name: 🔥 Test
run: poetry run tox
Expand All @@ -50,7 +52,10 @@ jobs:

- name: 🔼 Publish to Test PyPI
uses: pypa/gh-action-pypi-publish@master
if: env.ENABLE_TEST_PYPI_PUBLISH
if: |
env.ENABLE_TEST_PYPI_PUBLISH &&
github.event_name == 'push' &&
startsWith(github.ref, 'refs/tags')
with:
password: ${{ secrets.TEST_PYPI_API_TOKEN }}
repository_url: https://test.pypi.org/legacy/
Expand Down
12 changes: 6 additions & 6 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ classifiers = [
python = "^3.8"
dataclasses-json = "^0.5.6"
python-dateutil = "^2.8.2"
requests = "^2.27.1"

[tool.poetry.dev-dependencies]
black = "*"
Expand Down