michellengnx / healthcare-on-the-go

1 stars 1 forks source link

Set up github actions #16

Closed michellengnx closed 1 year ago

michellengnx commented 1 year ago

Update Nov 14 2:11 AM: Done. Goodnight, world!

michellengnx commented 1 year ago

and a develop branch too! Update Nov 13: Done

michellengnx commented 1 year ago

Maven and other build management environments (e.g. gradle) are based on the assumption that you do automated testing via e.g. unit tests. For that you need extra code for testing that should not be included in your final product delivered to your customer.

Thus, everything that goes into src/main/java is per default packaged into the product that you would deliver for your customer whereas everything that you put into src/test/java is not.

This is an advantage for various reasons:

Stackoverflow reference

michellengnx commented 1 year ago

DONE. Changes merged to develop.

michellengnx commented 1 year ago

Helpful article to set up github actions and docker: https://medium.com/@alexander.volminger/ci-cd-for-java-maven-using-github-actions-d009a7cb4b8f