This is a single Git repository that holds two microservices (Python and GO) that demonstrates different ways of running unit tests with Codefresh.
To compile and package using Docker
cd golang-app-A
docker build . -t my-go-appTo compile and package using Docker
cd python-app-B
docker build . -t my-python-appTo run unit tests each application
cd golang-app-A
go test -vand
cd python-app-B
python setup.py testYou need to have a development environment for Go/Python in each case.
There is also a codefresh.yml for easy usage with the Codefresh CI/CD platform.
More details can be found in Codefresh documentation.