Skip to content

Commit

Permalink
feat: add minimal pypi release infrastructure (#9)
Browse files Browse the repository at this point in the history
---------

Co-authored-by: Phillip Verheyden <[email protected]>
  • Loading branch information
Alexander-Serov and phillipuniverse authored Nov 26, 2024
1 parent 4aea7f5 commit 9b90e19
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 3 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Publish to PyPI

on:
push:
tags:
- 'v*'

jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.10'
- name: Install dependencies
run: |
pip install poetry
- name: Build and publish
run: |
poetry build
poetry publish
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,7 @@ tests/test_s3.py .

## Installation

This project is not yet hosted on PyPI. To install it, you can use the git url for this repo:

`pip install git+https://github.com/phillipuniverse/pytest-aioboto3`
`pip install pytest-aioboto3`

## Usage

Expand Down
13 changes: 13 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,19 @@ name = "pytest-aioboto3"
version = "0.3.0"
description = "Aioboto3 Pytest with Moto"
authors = ["Shipwell Engineering", "Phillip Verheyden"]
license = "WTFPL"
readme = "README.md"
homepage = "https://github.com/phillipuniverse/pytest-aioboto3"
repository = "https://github.com/phillipuniverse/pytest-aioboto3"
keywords = ["pytest", "aioboto3", "moto"]
classifiers = [
"Framework :: Pytest",
"Programming Language :: Python :: 3",
"License :: Public Domain :: WTFPL",
]

[tool.poetry.urls]
"Bug Tracker" = "https://github.com/phillipuniverse/pytest-aioboto3/issues"

[tool.poetry.dependencies]
python = "^3.10"
Expand Down

0 comments on commit 9b90e19

Please sign in to comment.