Skip to content

Commit

Permalink
chore: also test on python 3.11 and newer django versions
Browse files Browse the repository at this point in the history
  • Loading branch information
bellini666 committed Feb 28, 2023
1 parent d752a46 commit 0721d2c
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 23 deletions.
12 changes: 4 additions & 8 deletions .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
django-version: ["2.2.0", "3.0.0", "3.1.0", "3.2.0"]
python-version: ["3.8", "3.9", "3.10"]
django-version: ["2.2.0", "3.0.0", "3.1.0", "3.2.0", "4.0.0", "4.1.0"]
python-version: ["3.8", "3.9", "3.10", "3.11"]

steps:
- name: Checkout
Expand All @@ -45,16 +45,12 @@ jobs:
run: |
poetry run pytest --cov-report=xml
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
with:
fail_ci_if_error: true
uses: codecov/codecov-action@v3

publish:
runs-on: ubuntu-latest
needs: [lint, tests]
if: ${{ needs.lint.result == 'success' &&
needs.tests.result == 'success' &&
github.event.action == 'released' }}
if: ${{ needs.lint.result == 'success' && needs.tests.result == 'success' && github.event.action == 'released' }}

steps:
- uses: actions/checkout@v2
Expand Down
33 changes: 18 additions & 15 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,21 +10,24 @@ repository = "https://github.com/0soft/graphene-django-plus"
documentation = "https://graphene-django-plus.readthedocs.io"
keywords = ["graphene", "django", "graphql", "crud", "permissions"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Web Environment",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Framework :: Django",
"Framework :: Django :: 2.2",
"Framework :: Django :: 3.0",
"Framework :: Django :: 3.1",
"Framework :: Django :: 3.2",
"Development Status :: 5 - Production/Stable",
"Environment :: Web Environment",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Framework :: Django",
"Framework :: Django :: 2.2",
"Framework :: Django :: 3.0",
"Framework :: Django :: 3.1",
"Framework :: Django :: 3.2",
"Framework :: Django :: 4.0",
"Framework :: Django :: 4.1",
]
packages = [{ include = "graphene_django_plus" }]

Expand Down

0 comments on commit 0721d2c

Please sign in to comment.