AmitKumarDas / metac

It is metacontroller and more
Apache License 2.0
57 stars 16 forks source link

add github actions / workflow #87

Open AmitKumarDas opened 4 years ago

AmitKumarDas commented 4 years ago

It will be great to add GitHub Actions based CI CD workflow to Metac. Metac has Travis doing all the CI CD stuff as of now. However, an additional CI CD tooling esp. GitHub Actions should be good to have considering its acceptance over the last few months.

grzesuav commented 4 years ago

So currently basic flow is achieved, we have working release pipeline.

What next ?

AmitKumarDas commented 4 years ago

Thanks again @grzesuav Let's add all badges that includes above and more. I hope these should be relatively easy.

grzesuav commented 4 years ago

For code coverage I notice several solutions :

it basically runs go test --cover and uploads test reult to third party storage, also we can retrieve bagde (and moreover on every PR there will be comments added with information how coverage will change with given PR)

do you have any preference ? I haven't been using any of those so I cannot list any pros/cons

AmitKumarDas commented 4 years ago

Anything is fine. Can we have a union of make unit-test and make integration as code coverage. Both of them are go test actually.

AmitKumarDas commented 4 years ago

We need to add -cover to relevant make targets in Makefile