jazzband / django-polymorphic

Improved Django model inheritance with automatic downcasting
https://django-polymorphic.readthedocs.io
Other
1.66k stars 282 forks source link

Replace Travis CI configuration with GitHub Actions #561

Closed akx closed 11 months ago

akx commented 11 months ago

This PR removes the defunct Travis CI configuration and replaces it with a near-minimal GitHub Actions workflow.

There are some things still left undone (e.g. testing on Postgres again, and testing against the current django main (née master) revision, but I think this is a good start; I added relevant TODO markers to follow up on.

It also adds testing on Django 4.1 and 4.2.

(Following this, I think the next version of django-polymorphic should drop testing and support on EOL versions of Python and Django.)

j-antunes commented 11 months ago

@akx - Thanks for you work on this PR. Just to confirm. This would replace the work in GHA that was started on #558?

akx commented 11 months ago

@j-antunes Yes, #560 + this effectively replace #558, but this uses the current Tox configuration to test against various Django and Python versions, which didn't happen in #558.

j-antunes commented 11 months ago

Sounds good! Everything looks good on the PR. I'll wait for @AdamDonna to check it, to have a second set of eyes on it.

Again, thanks for your work!

akx commented 11 months ago

I'll just go ahead and merge this since there's 2 approvals 👍