Skip to content

Commit 57c6e29

Browse files
Merge pull request #173 from terminusdb/fixCoverallBug
Fix coveralls not working
2 parents e042173 + 07eb480 commit 57c6e29

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,3 +42,9 @@ jobs:
4242
run: |
4343
npm run mkdocs
4444
git diff --exit-code
45+
- name: Genrate test coverage report
46+
run: npm run coveralls-after
47+
- name: Update coveralls
48+
uses: coverallsapp/github-action@master
49+
with:
50+
github-token: ${{ secrets.GITHUB_TOKEN }}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@
7575
"lint:check": "eslint .",
7676
"lint": "eslint --fix .",
7777
"build": "webpack --mode production",
78-
"coveralls-after": "nyc report --reporter=text-lcov | coveralls",
78+
"coveralls-after": "nyc --reporter=lcov mocha --require @babel/register --require @babel/preset-env",
7979
"npm:publish": "npm publish --access public",
8080
"test-single": "mocha $1",
8181
"woql-test": "mocha test/woqlTripleBuilder.spec.js test/woql.spec.js test/woqlTripleBuilder01.spec.js test/woqlExtra.spec.js",

0 commit comments

Comments
 (0)