Skip to content

Commit

Permalink
fix production pypi deployment (#11)
Browse files Browse the repository at this point in the history
Fix the production deployment action
  • Loading branch information
pksol authored May 9, 2022
1 parent 0408c08 commit c209588
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 11 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish-to-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,9 @@ jobs:
run: |
poetry export --dev --without-hashes -f requirements.txt --output test-requirements.txt
pip install -r test-requirements.txt
pip install pytest-mock-generator
pip install pytest-fastapi-deps
python -m pytest -vvv -k "test_public_api"
export INSTALLED=`pip freeze | grep pytest-mock-generator`
export INSTALLED=`pip freeze | grep pytest-fastapi-deps`
echo "installed is: $INSTALLED, and we care about ${INSTALLED:21}"
export EXPECTED=`poetry version --short`
echo "expected is: $EXPECTED"
Expand Down
6 changes: 3 additions & 3 deletions poetry.lock

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

14 changes: 8 additions & 6 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ build-backend = "poetry.core.masonry.api"

[tool.poetry]
name = "pytest-fastapi-deps"
version = "0.1.4"
version = "0.1.5"
description = "A fixture which allows easy replacement of fastapi dependencies for testing"
readme = "README.md"
authors = ["Peter Kogan <[email protected]>"]
Expand All @@ -18,16 +18,18 @@ keywords = [] #! Update me

# Pypi classifiers: https://pypi.org/classifiers/
classifiers = [ #! Update me
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Topic :: Software Development :: Libraries :: Python Modules",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Topic :: Software Development :: Testing",
"Framework :: Pytest",
"License :: OSI Approved :: MIT License",
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
]

[tool.poetry.plugins.pytest11]
Expand Down

0 comments on commit c209588

Please sign in to comment.