Skip to content

Commit

Permalink
Run tests against Python 3.9 and add trove classifier
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-k committed Oct 6, 2020
1 parent a7b1826 commit ccfd167
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:

strategy:
matrix:
python-version: [3.5, 3.6, 3.7, 3.8]
python-version: [3.5, 3.6, 3.7, 3.8, 3.9.0-rc.2 - 3.9]

steps:
- uses: actions/checkout@v2
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
- Support to django 3.1 `JSONField` [PR #85](https://github.com/model-bakers/model_bakery/pull/85) and [PR #106](https://github.com/model-bakers/model_bakery/pull/106)
- [dev] Changelog reminder (GitHub action)
- Added type annotations [PR #100](https://github.com/model-bakers/model_bakery/pull/100)
- Support for Python 3.9 [PR #113](https://github.com/model-bakers/model_bakery/pull/113/)

### Changed
- [dev] CI switched to GitHub Actions
Expand Down
2 changes: 2 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,11 @@
"Operating System :: OS Independent",
"Topic :: Software Development",
"Programming Language :: Python",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
],
)
4 changes: 3 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
envlist =
py35-django{111,20,21,22}-{postgresql,sqlite}
py{36,37,38}-django{111,20,21,22,30,31}-{postgresql,sqlite}
py{39}-django{31}-{postgresql,sqlite}
flake8
isort
pydocstyle
Expand All @@ -14,6 +15,7 @@ python =
3.6: py36
3.7: py37
3.8: py38,flake8,isort,pydocstyle,black,mypy
3.9: py39

[testenv]
setenv =
Expand All @@ -29,7 +31,7 @@ deps =
django20: Django==2.0
django21: Django==2.1
django22: Django==2.2
django30: Django>=3.0a1,<3.1
django30: Django>=3.0,<3.1
django31: Django>=3.1,<3.2
postgresql: psycopg2-binary
commands =
Expand Down

0 comments on commit ccfd167

Please sign in to comment.