Ghost/.github
Daniel Lockyer 70bea3ddf8 Added c8 coverage to unit tests
no issue

- coverage allows us to see how much of our code we're hitting in tests
  and it's time we started to get visibility on this in Ghost
- we can then make informed decisions on which well-tested internal libraries
  can be pulled out into their own packages
- this commit:
  - adds the c8 dev dependency to Ghost
  - prepends the `test:unit` command with c8 with the `text-summary` reporter
  - adds a `coverage:unit` command to get the `text` report
    - you can do `yarn coverage:unit --reporter html` to get a HTML report etc
  - uses this new test coverage reporter command in CI tests
2021-08-20 12:42:11 +02:00
..
hooks Added pre-commit hook to handle submodules (#8302) 2017-04-13 08:26:48 +01:00
ISSUE_TEMPLATE Update ---bug-report.md 2021-04-13 10:53:36 +01:00
workflows Added c8 coverage to unit tests 2021-08-20 12:42:11 +02:00
CODEOWNERS Added CODEOWNERS file to protect DB migrations 2020-02-17 13:05:09 +00:00
CONTRIBUTING.md Update CONTRIBUTING.md 2021-04-20 15:44:18 +01:00
FUNDING.yml Update FUNDING.yml 2020-07-28 13:19:20 +07:00
label-actions.yml Updated links to docs (#10941) 2019-07-22 18:17:50 +08:00
PULL_REQUEST_TEMPLATE.md Reverted "Updated pull request template" 2020-04-30 09:10:40 +01:00
stale.yml Added feature label to stalebot exemption list 2020-03-05 12:40:59 +00:00
SUPPORT.md Updated links to docs (#10941) 2019-07-22 18:17:50 +08:00