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

Commit

Permalink
ci: Use github workflow to update coverage.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason3S committed Apr 1, 2021
1 parent b814657 commit 2054bd4
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 14 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Coverage
on:
pull_request:
push:
branches:
- master

jobs:
coverage:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2

- name: Use Node.js
uses: actions/setup-node@v2.1.5

- run: npm ci

- run: npm run coverage

- name: Upload coverage Coveralls
uses: coverallsapp/github-action@v1.1.2
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: ./coverage/lcov.info
6 changes: 0 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,3 @@ install:
script:
- npm test
- npm run lint-travis

jobs:
include:
- stage: "Coverage"
script:
- npm run travis-coverage
14 changes: 6 additions & 8 deletions cSpell.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,16 @@
// cSpell Settings
{
// Version of the setting file. Always 0.1
"version": "0.1",
// language - current active spelling language
"language": "en",
// words - list of words to be always considered correct
"words": [
"Pausable",
"api's",
"coverallsapp",
"lcov",
"Observables",
"Streamable",
"api's"
"Pausable",
"Streamable"
],
"ignorePaths": [
"package*.json",
"node_modules"
]
}
}
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@
"ts-node/register"
],
"reporter": [
"lcov",
"json",
"html"
]
Expand Down

0 comments on commit 2054bd4

Please sign in to comment.