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.
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.