Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closes #83: report JavaScript code coverage in PRs #84

Merged
merged 2 commits into from
Jan 23, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions .codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
coverage:
status:
project:
default: off
docs:
flags: docs
target: auto
threshold: 2
patch:
default: off

flags:
docs:
paths:
- docs/
updater:
paths:
- updater/

comment:
layout: "header"
behavior: new
require_changes: yes # only post a PR comment if coverage changes
require_base: yes # must have a base report to post
require_head: yes # must have a head report to post
branches: null
5 changes: 5 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,8 @@ matrix:
- npm install
script:
- npm test
after_script:
- npm run codecov
branches:
only:
- master
1 change: 1 addition & 0 deletions docs/.eslintignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
_site/**
assets/js/vendor/*.js
coverage/**
3 changes: 3 additions & 0 deletions docs/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,6 @@ hubble-data

# nodejs bits
node_modules

# code coverage artifacts
coverage
Loading