UKRIN-MAPS / ukat

UKRIN Kidney Analysis Toolbox

Home Page:https://www.nottingham.ac.uk/research/groups/spmic/research/uk-renal-imaging-network/ukrin-maps.aspx

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Travis Trial Running Out

alexdaniel654 opened this issue · comments

I got an email this morning saying there were only ten builds left before the Travis trail runs out.

As an individual you get a travis' base tier for free if you have GitHub pro which you can get for free with an educational email address. I know you can apply the pro features to organisations for free and assumedly this would mean we could get Travis for free too.

Not something I can do anything about as a contributor but I thought I'd raise this issue anyway as a reminder.

Thanks for raising @alexdaniel654. Me and @JSousa-UoL will look at this.

I received that same email, I'll look at it right now

Ok, this is a real problem... The only way we can run the builds without paying is by making the repo public. If it's private, Travis CI allows 100 trial runs but then you have to pay for a plan and the cheapest is $69/month. There's no other way at an organization level. At user level, it might be possible to have Github Pro and unlimited runs, but I don't know about this - I just requested Github Teacher Toolbox

The other option would be Github Enterprise where each user would have to pay $21/month... @fnery , would you mind creating a Travis CI account and see if you get anything different? I'm not a "Pro" Github yet and I'd like to know if that makes any difference

We will investigate this further but I would start accepting the scenario where we will have to run pytest locally and rely on that until we make the repository public

@JSousa-UoL hopefully its not too difficult you getting pro. Let me know if that changes anything once you get it.

I just hope I get it soon. Github said it would take up to 29 days.

I have "Pro" features now and it seems that UKRIN-MAPS is a Github Team now. Travis CI isn't working correctly so I need to continue investigating.

Update: I uninstalled and reinstalled. Nothing we can do unfortunately and we have 8 builds left. We have to accept that we'll have to run pytest at this stage. Once we make it open-source/public, we don't have to worry about it.
The only "miracle" possible at this stage is once the trial expires, we get some permanent or unlimited solution for free. For now, I can even use the trial anymore because my account change. I synced the settings but still doesn't accept...

OK, this is not ideal. But if you feel you've exhausted all options then I guess it's acceptable having to run pytest locally while we keep the repo private. I will add a note to the PULL_REQUEST_TEMPLATE.md for us to check we ran pytest upon making PRs. @alexdaniel654 Any thoughts? Can this issue be closed?

Thanks for your comment @fnery. I agree with you, but for now let's keep this issue open until we spent the remaining 7 builds so we see what happens next.

If Travis isn't nice and giving us free things because we're educational, maybe GitHub Actions is the way to go given GitHub are happy that we're educational. Seems to work on my fork (and could replace PEP8-Speak so the comments it leaves don't get lots at the top of a PR).

I tried Github Actions before but without success. Great suggestion, that might be the way forward for now to be fair. Feel free to open a PR on that fork link you shared. If it works, that'd be great.