mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-03-04 19:41:16 +01:00
fix: restore coveralls script, update gh action to ignore failures
This commit is contained in:
2
.github/workflows/test.yaml
vendored
2
.github/workflows/test.yaml
vendored
@@ -198,6 +198,7 @@ jobs:
|
|||||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
flag-name: ${{ matrix.os }}-node-${{ matrix.node }}-db-${{ matrix.database }}
|
flag-name: ${{ matrix.os }}-node-${{ matrix.node }}-db-${{ matrix.database }}
|
||||||
parallel: true
|
parallel: true
|
||||||
|
fail-on-error: false
|
||||||
|
|
||||||
finish:
|
finish:
|
||||||
permissions:
|
permissions:
|
||||||
@@ -210,3 +211,4 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
parallel-finished: true
|
parallel-finished: true
|
||||||
|
fail-on-error: false
|
||||||
|
|||||||
@@ -14,7 +14,7 @@
|
|||||||
"lint": "eslint --cache ./nodebb .",
|
"lint": "eslint --cache ./nodebb .",
|
||||||
"test": "nyc --reporter=html --reporter=text-summary mocha",
|
"test": "nyc --reporter=html --reporter=text-summary mocha",
|
||||||
"coverage": "nyc report --reporter=text-lcov > ./coverage/lcov.info",
|
"coverage": "nyc report --reporter=text-lcov > ./coverage/lcov.info",
|
||||||
"coveralls": "nyc report --reporter=text-lcov | coveralls; rm -r coverage"
|
"coveralls": "nyc report --reporter=text-lcov | coveralls && rm -r coverage"
|
||||||
},
|
},
|
||||||
"nyc": {
|
"nyc": {
|
||||||
"exclude": [
|
"exclude": [
|
||||||
|
|||||||
Reference in New Issue
Block a user