Skip to content

Commit

Permalink
Update actions workflows, and support for python, django and drf
Browse files Browse the repository at this point in the history
  • Loading branch information
nezhar committed Oct 14, 2024
1 parent 81052dd commit ce874e0
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 16 deletions.
14 changes: 6 additions & 8 deletions .github/workflows/test-postgres.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ jobs:
test:
services:
postgres:
image: postgres:12
image: postgres:13
env:
POSTGRES_USER: user
POSTGRES_PASSWORD: password
Expand All @@ -22,24 +22,22 @@ jobs:
fail-fast: false
matrix:
python-version:
- "3.8"
- "3.9"
- "3.10"
- "3.11"
- "3.12"
- "3.13"
django-version:
- "3.2"
- "4.2"
- "5.0"
- "5.1"
drf-version:
- "3.14"
- "3.15"
exclude:
- python-version: "3.8"
django-version: "5.0"
- python-version: "3.9"
django-version: "5.0"
- drf-version: "3.14"
python-version: "3.8"
- python-version: "3.9"
django-version: "5.1"

steps:
- uses: actions/checkout@v4
Expand Down
14 changes: 6 additions & 8 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,24 +8,22 @@ jobs:
fail-fast: false
matrix:
python-version:
- "3.8"
- "3.9"
- "3.10"
- "3.11"
- "3.12"
- "3.13"
django-version:
- "3.2"
- "4.2"
- "5.0"
- "5.1"
drf-version:
- "3.14"
- "3.15"
exclude:
- python-version: "3.8"
django-version: "5.0"
- python-version: "3.9"
django-version: "5.0"
- drf-version: "3.14"
python-version: "3.8"
- python-version: "3.9"
django-version: "5.1"

steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -81,4 +79,4 @@ jobs:
coverage xml
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
uses: codecov/codecov-action@v4
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -270,6 +270,7 @@ django-rest-passwordreset Version | Django Versions | Django Rest Framework
1.2 | 2.2, 3.0, 3.1 | 3.10, 3.11 | 3.5 - 3.8
1.3 | 3.2, 4.0, 4.1 | 3.12, 3.13, 3.14 | 3.7 - 3.10
1.4 | 3.2, 4.2, 5.0 | 3.13, 3.14 | 3.8 - 3.12
1.5 | 4.2, 5.0, 5.1 | 3.15 | 3.9 - 3.13

## Documentation / Browsable API

Expand Down

0 comments on commit ce874e0

Please sign in to comment.