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

Commit

Permalink
Add nyc coverage (#116)
Browse files Browse the repository at this point in the history
  • Loading branch information
BarryThePenguin authored May 16, 2021
1 parent 642d413 commit b88e524
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ jobs:
node-version: 12
- run: npm install
- run: npm test
- uses: codecov/codecov-action@v1
test-atom:
name: ${{ matrix.channel }} - ${{ matrix.os }}
runs-on: ${{ matrix.os }}
Expand Down
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
/node_modules
node_modules
yarn.lock
.nyc_output
coverage
9 changes: 8 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"scripts": {
"lint": "xo --ignore='mocks/**/*'",
"pretest": "npm run lint",
"test": "ava"
"test": "nyc ava"
},
"keywords": [
"javascript",
Expand All @@ -38,6 +38,7 @@
},
"devDependencies": {
"ava": "^3.13.0",
"nyc": "^15.1.0",
"proxyquire": "^2.0.1",
"text-buffer": "^13.15.2",
"tmp": "0.0.33"
Expand All @@ -55,6 +56,12 @@
}
}
},
"nyc": {
"reporter": [
"text",
"lcov"
]
},
"xo": {
"globals": [
"atom",
Expand Down

0 comments on commit b88e524

Please sign in to comment.