dabapps / django-rest-framework-serialization-spec

DEPRECATED, see https://github.com/dabapps/django-readers instead
MIT License
11 stars 0 forks source link

Simplify package layout and tests, switch to GitHub Actions #67

Closed j4mie closed 3 years ago

j4mie commented 3 years ago

Switch to a simpler way of laying out the tests, removing a bunch of unnecessary stuff.

We now run the tests on SQLite, which results in a far simpler setup. Many of the tests were reliant on implicit ordering which only happened to work on Postgres. All of the test models are now explicitly ordered by id, and the tests have been fixed accordingly. SQL output is slightly different between different Django versions, so some compatibility shimming is needed.

The tests now run on GitHub Actions rather than Travis, and I've set up a test matrix for supported versions of Django and Python.

j4mie commented 3 years ago

Test failures are due to a change in the SQL emitted by Django in this commit.

I think we'll need to do different things for different version of Django...