django-getpaid/django-plans

Migrating to Github Actions

Alir3z4 opened this issue · 3 comments

Travic CI doesn't work anymore.
If you visit https://travis-ci.org/cypreess/django-plans, you would see a notice saying:

Since June 15th, 2021, the building on travis-ci.org is ceased. Please use travis-ci.com from now on.

They no longer have a free CI for open source projects.

Out of all the alternatives, would be sane to just use Github Actions:
Until then, no CI jobs or code coverage would happen on the new code.

Once this is done, I can start working on #134

Great work @PetrDlouhy on this.

One problem I noticed. Codecov doesn't pick up the coverage.
Have a look at https://github.com/django-getpaid/django-plans/runs/3866850627

    GitHub Actions CI Detected
    Fixing merge commit SHA
==> Preparing upload
==> Processing gcov (disable by -X gcov)
==> Collecting reports
Error: No coverage report found
Tip: See all example repositories: https://github.com/codecov?query=example

Probably because the codecov runs in another step and coverage report doesn't exists there?
I guess we might be able to fix this to include the coverage within the tests step?

The codecov issue has been fixed via #142