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.
- Under the repository name, click "Settings".
- In the left sidebar, click "Branches".
- Make sure the "default" branch is:
- Under "Branch protection rules" click "Add rule"
- Under "Branch name pattern" 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.