Github and automated tests
Whatever service you choose for automation, you will need to enable the "hooks" in your Github repositories so that the automated testing will happen. The goal is for automated tests to run every time a "pull request" is created. This way, if the pull request would have broken something, you will know in advance.
The procedure is the same for both the site repository and the data repository:
- Go to the repository in Github
- Click the "Settings" tab
- Click the "Branches" sidebar item
- Make sure the "default" branch is:
- Under "Branch protection rules" click "Add rule"
- Under "Apply rule to" enter
- Check the box "Require status checks to pass before merging"
- Under "Status checks found in the last week for this repository" check the appropriate box.
The last step above depends on your choice of automation service, but that is where you tell Github that some tests need to pass. Perform the steps above for both the site repository and the data repository.