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-app
To compile and package using Docker
cd python-app-B
docker build . -t my-python-app
To run unit tests each application
cd golang-app-A
go test -v
and
cd python-app-B
python setup.py test
You 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.