Skip to content
This repository has been archived by the owner on Jun 6, 2024. It is now read-only.

Commit

Permalink
Added coverage testing at CI process
Browse files Browse the repository at this point in the history
  • Loading branch information
kurone-kito committed Mar 6, 2019
1 parent b6d112f commit a7f9c5c
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 9 deletions.
1 change: 1 addition & 0 deletions .coveralls.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
repo_token: $REPO_TOKEN
16 changes: 9 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,25 +1,27 @@
# 馃摚 Kuglo

[![Coverage Status](https://coveralls.io/repos/github/kurone-kito/kuglo/badge.svg?branch=master)](https://coveralls.io/github/kurone-kito/kuglo?branch=master)

Practice for desktop app using [Electron](https://github.com/electron/electron)

# Debugging & Testing
## Debugging & Testing

## Prepare
### Prepare

Requirement: nodejs >= 8.10

```sh
$ npm i; npm run build
npm install
```

## Debugging
### Debugging

```sh
$ npm start
npm start
```

## Testing
### Testing

```sh
$ npm test
npm test
```
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@
"scripts": {
"install": "npm run build",
"start": "electron ./",
"test": "eslint src/**/* && jest --coverage",
"test": "jest --coverage --coverageReporters=text-lcov | coveralls",
"build": "webpack",
"pack": "electron-builder --x64",
"prettier": "prettier -c --write ./**/*"
"test:unit": "jest --coverage"
},
"engines": {
"node": ">=8.10"
Expand Down

0 comments on commit a7f9c5c

Please sign in to comment.