Skip to content

Commit

Permalink
Add JS deployment tests to code coverage. (opensearch-project#1575)
Browse files Browse the repository at this point in the history
Signed-off-by: dblock <[email protected]>
  • Loading branch information
dblock authored Feb 1, 2022
1 parent ef83dea commit 50e0afe
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,5 @@ coverage:
target: 98%
ignore:
- '**/tests/*.py'
- '**/test/*.js'
- '**/test/*.ts'
4 changes: 3 additions & 1 deletion .github/workflows/js-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,6 @@ jobs:
node-version: 12.x
cache: npm
- run: yarn install
- run: yarn test
- run: yarn test -- --coverage
- name: Upload Coverage Report
uses: codecov/codecov-action@v2
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ __pycache__

.coverage
coverage.xml
coverage/

.gradle/
.settings/
Expand Down

0 comments on commit 50e0afe

Please sign in to comment.