jazzband / django-redshift-backend

Redshift database backend for Django
Apache License 2.0
82 stars 47 forks source link

Migrate to Github Actions #71

Closed browniebroke closed 3 years ago

browniebroke commented 4 years ago

Subject: Move CI to Github as Travis builds have become too slow

Feature or Bugfix

Purpose

Move the CI to Github Actions. The config is a bit more verbose than I'd like to, but this should have the advantage to be explicit.

Detail

Relates

I have another PR that will conflict: #68

Given that Travis is too painful to work with, I'll update that other PR when this is merged.

:warning: IMPORTANT :warning:

A project admin will have to add JAZZBAND_RELEASE_KEY to the repo secrets: https://github.com/jazzband/django-redshift-backend/settings/secrets/actions/new

browniebroke commented 4 years ago

Not sure why the builds aren't running, but they do run on my fork: https://github.com/browniebroke/django-redshift-backend/actions?query=workflow%3ACI

jezdez commented 4 years ago

Please use tox-gh-actions for configuring the test matrix instead of duplicating it in the GH actions and tox configuration. This is along the lines we've done with tox-travis.

browniebroke commented 4 years ago

Updated test to use tox-gh-actions and deployment steps to use Jazzband package index.

Build result: https://github.com/browniebroke/django-redshift-backend/actions/runs/352344702

browniebroke commented 4 years ago

I think it's all done. Let me know if I missed anything.

browniebroke commented 4 years ago

Is there anything else I need to change here?

shimizukawa commented 3 years ago

@browniebroke Thank you for your work!

@jezdez I'm going to release a new version after merging this PR. What do we need next?

shimizukawa commented 3 years ago

@jezdez ping and Happy New Year!!

jezdez commented 3 years ago

I've fixed a few more things in #72. Closing this PR since I wasn't able to push to the branch of this PR being in a fork repo.

shimizukawa commented 3 years ago

Now I've released 2.0.0. Thanks for your contribution! https://pypi.org/project/django-redshift-backend/2.0.0/