Setup Docker for integration testing in GitHub Action

Click for: original source

Nowadays, Continuous Integration helps developers to automate their own build and test in remote repositories. Moreover, when we work as a team, CI ensures that all the branches on remote repositories will be tested by automated build. By Sahanon Phisetpakasit.

Suppose that we have got 4 services, let’s call it service A, B, C and D respectively. Each service will have its own database system and dependencies between each service.

What is covered on the article:

  • Setup Github Actions
  • Create Docker compose for building the service container
  • Add Docker to GitHub Actions

With the power of GitHub Action and docker it can create the test environment on our remote repository so we don’t need to deploy other services in order to use it in testing. You will also find example configuration and code in the article. Good read!

[Read More]

Tags app-development android cicd web-development