File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2121 pip install django~=5.2 pytest pytest-django pytest-cov drf-spectacular django-filter
2222 pytest --cov --cov-report=xml
2323 - name : Upload coverage to Codecov
24- uses : codecov/codecov-action@v4
24+ uses : codecov/codecov-action@v6
2525 with :
2626 token : ${{ secrets.CODECOV_TOKEN }}
2727 fail_ci_if_error : true
Original file line number Diff line number Diff line change @@ -242,7 +242,7 @@ def add_unique_together_error_codes(
242242 # to `drf.UniqueTogetherValidator`. Before that, the error code was
243243 # hardcoded as `"unique"`
244244 sfield .error_codes .update (v .code for v in unique_together_validators )
245- else :
245+ else : # pragma: no cover
246246 sfield .error_codes .add ("unique" )
247247 # fields involved in a unique together constraint have an implied
248248 # "required" state, so we're adding the "required" error code to them
You can’t perform that action at this time.
0 commit comments