title: Gitlab Coverage badge not working
body: <p>I am deploying <code>Django</code> application using <code>Gitlab CI/CD</code> and <code>pytest</code> for testing of code and <code>pytest-cov</code> for generating coverage report</p>
  
  <p>My <code>.gitlab-ci.yml</code></p>
  
  <pre><code>stages:
    - test
    - deploy
  
  image: python:3.6
  
  test:
    stage: test
    script:
      - pip install pipenv
      - pipenv install
      - pipenv run py.test src/
    artifacts:
      paths:
        - htmlcov/
  
  pages:
    stage: deploy
    dependencies:
      - test
    script:
      - mv htmlcov/ public/
    artifacts:
      paths:
        - public
      expire_in: 30 days
    only:
      - master
  
  staging:
    stage: deploy
    script:
      - apt-get update -qy
      - apt-get install -y ruby-dev
      - gem install dpl
      - dpl --provider=heroku --app=app-staging --api-key=$HEROKU_PRODUCTION_API_KEY
    only:
      - master
  
  production:
    stage: deploy
    script:
      - apt-get update -qy
      - apt-get install -y ruby-dev
      - gem install dpl
      - dpl --provider=heroku --app=app-production --api-key=$HEROKU_PRODUCTION_API_KEY
    when: manual
    only:
      - master
  </code></pre>
  
  <p>Since repository is under a group namespace, the url to the coverage report is</p>
  
  <pre><code>https://&lt;group&gt;.gitlab.io/&lt;repository&gt;/
  </code></pre>
  
  <p>For coverage report,</p>
  
  <pre><code>[![coverage report](https://gitlab.com/&lt;group&gt;/&lt;repository&gt;/badges/master/coverage.svg?job=coverage)](https://&lt;group&gt;.gitlab.io/&lt;repository&gt;/)
  </code></pre>
  
  <p>But this is displaying <code>Unknown</code></p>
  
  <p><a href="https://i.stack.imgur.com/HiNLA.png" rel="noreferrer"><img src="https://i.stack.imgur.com/HiNLA.png" alt="enter image description here"></a></p>
  
  <p>I have setup <strong>Test Coverage parsing</strong> regex for python</p>
  
  <p><a href="https://i.stack.imgur.com/b22mn.png" rel="noreferrer"><img src="https://i.stack.imgur.com/b22mn.png" alt="enter image description here"></a></p>