diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index eb66b27da357a1aa3645504d7ffe3cec9ce74056..2aec1057ba74c1cfa706f3316d75d8a0252c31a0 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,5 +1,11 @@ # image: "pandoc/core" +# Print some info about the environment +helloworld: + stage: test + script: + - echo $CI_JOB_NAME + # Run a Markdown linter markmedown: stage: test @@ -22,6 +28,14 @@ icanhazpdf: - README.md - .gitlab-ci.yml +# Super Simple Code Coverage +covermycode: + script: + - sh cover-the-code.sh + coverage: '/Code coverage: \d+\.\d+/' + + + # Use pandoc to convert the README to HTML. pages: image: "pandoc/core" diff --git a/cover-the-code.sh b/cover-the-code.sh new file mode 100644 index 0000000000000000000000000000000000000000..bdd8276460a319b17ff7647e8d681bf1bcb75327 --- /dev/null +++ b/cover-the-code.sh @@ -0,0 +1,3 @@ +#!/bin/bash +echo "Covering code" +echo "Coverage: 100% complete"