This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Inspiration: https://b.agilob.net/test-coverage-in-gitlab-ci-in-a-golang-project | |
# Navigate to: "Settings" -> "CI/CD" -> "Expand" next to "General pipeline settings" | |
# 1. Add ^coverage:\s(\d+(?:\.\d+)?%) tas your regex in "Test coverage parsing" | |
# 2. Go to "Pipeline status" to get the badges code | |
# This file is a template, and might need editing before it works on your project. | |
image: golang:1.13.4-alpine | |
services: | |
- docker:stable-dind # only docker daemon, so we need to install docker cli and docker compose in separate script |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Copyright the authors of Honcho and/or Ben Lopatin | |
Licensed for reuse, modification, and distribution under the terms of the MIT license |