Skip to content
This repository was archived by the owner on Oct 26, 2021. It is now read-only.

Commit 8dec726

Browse files
author
Ludwig Richter
committed
Merge branch 'master' of github.com:server-state/linux-raid-module
2 parents 5b5e185 + 74506ae commit 8dec726

File tree

4 files changed

+49
-5
lines changed

4 files changed

+49
-5
lines changed

.travis.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,11 @@ node_js:
33
- 10
44

55
script:
6+
- npm install -g coveralls
67
- npm run lint
78
- npm run build
89
- npm test
10+
- cat ./coverage/lcov.info | coveralls
911

1012
notifications:
1113
slack: serverstate:PcPgLd43m8TKiXrxfHb1mKff

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@
22

33
[![Build Status](https://travis-ci.com/server-state/linux-raid-module.svg?branch=master)](https://travis-ci.com/server-state/linux-raid-module)
44
![GitHub](https://img.shields.io/github/license/server-state/linux-raid-module)
5+
[![npm version](https://badge.fury.io/js/%40server-state%2Flinux-raid-module.svg)](https://badge.fury.io/js/%40server-state%2Flinux-raid-module)
6+
[![Coverage Status](https://coveralls.io/repos/github/server-state/linux-raid-module/badge.svg?branch=master)](https://coveralls.io/github/server-state/linux-raid-module?branch=master)
57
![module type: official](https://img.shields.io/badge/module%20type-official-%23015ba0)
6-
![npm (scoped)](https://img.shields.io/npm/v/@server-state/linux-raid-module)
78

89
This module parses the file /proc/mdstat generated from the Linux raid kernel module and extracts useful information, for example, raid name, current devices with their status, activities.
910

package-lock.json

Lines changed: 42 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
22
"name": "@server-state/linux-raid-module",
3-
"version": "0.1.1",
3+
"version": "0.1.2",
44
"description": "A module to view the current active raids based on /proc/mdstat generated by the linux-raid kernel module",
55
"main": "index.js",
66
"scripts": {
7-
"test": "jest",
7+
"test": "jest --coverage",
88
"lint": "eslint ./src ./tests",
99
"build": "webpack --config webpack.config.js --mode production"
1010
},
@@ -19,6 +19,7 @@
1919
},
2020
"homepage": "https://github.com/server-state/linux-raid-module#readme",
2121
"devDependencies": {
22+
"coveralls": "^3.0.6",
2223
"eslint": "^6.3.0",
2324
"jest": "^24.9.0",
2425
"pegjs": "^0.10.0",

0 commit comments

Comments
 (0)