- Adds a test stage using a Hugo image. - Runs `hugo version` and `hugo --minify` in the test stage. - Restricts test execution to merge requests and master branches.