ci: migrate from travis ci to github workflows #112
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Migrate from Travis CI to Github workflows in order to have a working CI again. A few notes about the changes:
Python 3.6 is no longer tested because it's not available for Ubuntu 22.04 and it's no longer supported.
There were a few too long lines which prevented the linting job from passing. These were fixed.
The
postgres
service used in the Github workflow requires a password, so the tests were modified to make providing custom credentials possible.In
tox.ini
, thesqla1.4
factor dependency did not have an upper version limit, so it was installing SQLAlchemy 2.0 instead of SQLAlchemy 1.4. Thelint
factor was installing a too recent isort version.