Skip to content

Commit

Permalink
Merge branch 'master' into feature/add-support-for-lists-during-conve…
Browse files Browse the repository at this point in the history
…rsion-to-dictionary
  • Loading branch information
bmlnr committed Jan 29, 2024
2 parents cdd6dd2 + 8067017 commit f2148a5
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 7 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: Pull Request
on:
pull_request:
types: [opened]
jobs:
test:
name: Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Create venv
run: make venv
- name: Run tests
run: make test
7 changes: 2 additions & 5 deletions .github/workflows/main.yml → .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
name: Tests
name: Release
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
workflow_dispatch:
jobs:
test:
name: "Tests"
name: Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Pynamodb Utils is a collection of small helper functions, utilities and classes which make common patterns easier. It helped me make my job easier in the past.

[![Tests](https://github.com/micmurawski/pynamodb-utils/actions/workflows/main.yml/badge.svg)](https://github.com/micmurawski/pynamodb-utils/actions/workflows/main.yml) [![pypi](https://img.shields.io/pypi/v/pynamodb-utils.svg)](https://pypi.org/project/pynamodb-utils/)
[![Tests](https://github.com/micmurawski/pynamodb-utils/actions/workflows/release.yml/badge.svg)](https://github.com/micmurawski/pynamodb-utils/actions/workflows/release.yml) [![pypi](https://img.shields.io/pypi/v/pynamodb-utils.svg)](https://pypi.org/project/pynamodb-utils/)

## Examples are:

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def read(*parts):
'tests',
)
),
install_requires=["pynamodb>=5.0.0"],
install_requires=["pynamodb>=5.0.0,<6.0.0"],
include_package_data=True,
python_requires=">=3.6",
license="MIT",
Expand Down

0 comments on commit f2148a5

Please sign in to comment.