File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change 46
46
poetry run pip install --upgrade pip
47
47
poetry install -E all
48
48
poetry run pip install -U "Django~=${{ matrix.django-version }}"
49
+ - name : Conditionally Install django-filter
50
+ run : |
51
+ if [ $(echo "${{ matrix.django-version }}" | awk '{print ($1 < 4.2)}') -eq 1 ]; then
52
+ poetry run pip install -U "django-filter~=23.5"
53
+ fi
49
54
- name : Run Static Analysis
50
55
run : |
51
56
poetry run isort django_enum --check
Original file line number Diff line number Diff line change @@ -103,6 +103,11 @@ jobs:
103
103
run : |
104
104
poetry install -E filters
105
105
poetry run pip install -U "Django~=${{ matrix.django-version }}"
106
+ - name : Conditionally Install django-filter
107
+ run : |
108
+ if [ $(echo "${{ matrix.django-version }}" | awk '{print ($1 < 4.2)}') -eq 1 ]; then
109
+ poetry run pip install -U "django-filter~=23.5"
110
+ fi
106
111
- name : Run Unit Tests w/ django-filter
107
112
run : |
108
113
poetry run pytest --cov-append
You can’t perform that action at this time.
0 commit comments