Skip to content

Commit

Permalink
Merge pull request #2 from smkent/dev
Browse files Browse the repository at this point in the history
Add requests as a package dependency, add CI updates
  • Loading branch information
smkent authored Feb 25, 2022
2 parents 870885e + 690a9cf commit 058bea1
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 8 deletions.
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

0 comments on commit 058bea1

Please sign in to comment.