Skip to content

Commit

Permalink
Fix test matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
itssimon committed Aug 21, 2023
1 parent d31b15e commit b642e58
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,9 @@ jobs:
- flask
- flask==2.3.*
- flask==2.0.3
- django
- django==4.2.*
- django==3.2.*
- djangorestframework django
- djangorestframework django==4.2.*
- djangorestframework==3.12.* django==3.2.*
- django-ninja django
- django-ninja==0.22.* django
- django-ninja==0.18.0 django
Expand Down
4 changes: 2 additions & 2 deletions tests/test_django.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
from pytest_mock import MockerFixture


if find_spec("django") is None:
pytest.skip("django is not available", allow_module_level=True)
if find_spec("rest_framework") is None:
pytest.skip("django-rest-framework is not available", allow_module_level=True)

if TYPE_CHECKING:
from rest_framework.test import APIClient
Expand Down

0 comments on commit b642e58

Please sign in to comment.