Hacktoberfest / hacktoberfest-2020

Hacktoberfest - App to manage the annual open-source challenge, used for the 2019 & 2020 seasons.

Home Page:https://hacktoberfest.digitalocean.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Split CI into discrete steps

johndbritton opened this issue · comments

Right now, GitHub Actions runs script/cibuild as one step. It'd be ideal to split it into multiple steps so that we have separate build status indicators for tests and linting.

@fridaland - Can you take this one please.

Let's split this into 3 steps:

1). Our current cibuild script will setup the environment only. In other words, just don't execute script/test at the end.
2) Run bundle exec rspec as a separate step
3) Run bundle exec rubocop as a separate step.

Since the last 2 are just 1 command, it doesn't make sense to create separate files for them. Just use the run syntax to execute them. Make sure each step is appropriately named as well.