Skip to content

Add Django CI jobs for DjangoMessage tests#203

Merged
lavr merged 3 commits intomasterfrom
fix/issue-201-django-ci
Mar 31, 2026
Merged

Add Django CI jobs for DjangoMessage tests#203
lavr merged 3 commits intomasterfrom
fix/issue-201-django-ci

Conversation

@lavr
Copy link
Copy Markdown
Owner

@lavr lavr commented Mar 31, 2026

Summary

  • Add pytest.mark.django marker to Django integration tests
  • Use pytest.importorskip("django") to prevent collection errors when Django is not installed
  • Add 3 dedicated CI jobs testing against Django 4.2, 5.2, and 6.0 (Python 3.12)
  • Add tox envs django42, django52, django60 with pinned versions
  • Exclude Django tests from regular unit jobs via -m "not e2e and not django"

Closes #201

Test plan

  • django / 4.2 CI job passes
  • django / 5.2 CI job passes
  • django / 6.0 CI job passes
  • Existing unit/e2e/typecheck jobs unaffected

@lavr lavr merged commit 53cd6db into master Mar 31, 2026
10 checks passed
@lavr lavr deleted the fix/issue-201-django-ci branch April 2, 2026 17:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add CI jobs for DjangoMessage tests with multiple Django versions

1 participant