Skip to content

Commit bfcb427

Browse files
authored
library author update (#14)
* library author update * added support for django 4.1 and python 3.10 * added support for django 4.1 and python 3.10 * Added doc dependencies * Doc files rearrangement * Made test coverage available on PRs * python-jose update
1 parent 7d5cd38 commit bfcb427

18 files changed

+20
-190
lines changed

.github/workflows/publish.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
- name: Set up Python
1414
uses: actions/setup-python@v1
1515
with:
16-
python-version: 3.6
16+
python-version: 3.7
1717
- name: Install Flit
1818
run: pip install flit
1919
- name: Install Dependencies
@@ -22,4 +22,6 @@ jobs:
2222
env:
2323
FLIT_USERNAME: ${{ secrets.FLIT_USERNAME }}
2424
FLIT_PASSWORD: ${{ secrets.FLIT_PASSWORD }}
25-
run: flit publish
25+
run: flit publish
26+
- name: Deploy Documentation
27+
run: make doc-deploy

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ name: Test
22

33
on:
44
push:
5-
branches:
6-
- master
5+
pull_request:
6+
types: [assigned, opened, synchronize, reopened]
77

88
jobs:
99
test_coverage:

.github/workflows/test_full.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ jobs:
1111
runs-on: ubuntu-latest
1212
strategy:
1313
matrix:
14-
python-version: ['3.6', '3.7', '3.8', '3.9']
15-
django-version: ['<2.1', '<2.2', '<3.0', '<3.1', '<3.2', '<3.3']
14+
python-version: ['3.6', '3.7', '3.8', '3.9', '3.10']
15+
django-version: ['<2.1', '<2.2', '<3.0', '<3.1', '<3.2', '<3.3', '<4.1']
1616

1717
steps:
1818
- uses: actions/checkout@v2
@@ -23,7 +23,7 @@ jobs:
2323
- name: Install core
2424
run: pip install "Django${{ matrix.django-version }}"
2525
- name: Install tests
26-
run: pip install pytest pytest-asyncio ninja-schema pytest-django django-ninja-extra python-jose==3.0.0 pyjwt[crypto]
26+
run: pip install pytest pytest-asyncio ninja-schema pytest-django django-ninja-extra python-jose==3.3.0 pyjwt[crypto]
2727
- name: Test
2828
run: pytest
2929
codestyle:

docs/Makefile

Lines changed: 0 additions & 177 deletions
This file was deleted.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)