Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Register
Sign in
Toggle navigation
Menu
UPSMF
user-service
Commits
d2cc438a
Commit
d2cc438a
authored
3 years ago
by
ChakshuGautam
Browse files
Options
Download
Patches
Plain Diff
ci(actions): add Coveralls
parent
67293bd0
master
1.0
0.1.8
0.1.7
0.1
v2.4.4
v2.4.3
v2.4.2
v2.4.1
v2.4.0
v2.3.9
v2.3.8
v2.3.7
v2.3.6
v2.3.5
v2.3.4
v2.3.3.1
v2.3.3
v2.3.2
v2.3.1
v2.3.0
v2.2.0
v2.1.7
v2.1.6
v2.1.5
v2.1.4
v2.1.3
v2.1.2
v2.1.1
v2.1.0
v2.0.0
v1.1.0
v1.1
v1.0.6
v1.0.5
v1.0.4
v1.0.3
v1.0.2
v1.0.1
v0.1.6
v0.1.5
v0.1.4
v0.1.3
v0.1.2
v0.1.1
v0.1.0
v0.0.8
v0.0.7
v0.0.6
v0.0.5
v0.0.4
v0.0.3
v0.0.2
v0.0.1
list
No related merge requests found
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
.github/workflows/ci.yml
+3
-4
.github/workflows/ci.yml
.gitignore
+0
-1
.gitignore
.husky/pre-commit
+1
-1
.husky/pre-commit
.vscode/settings.json
+2
-1
.vscode/settings.json
coverage/coverage-summary.json
+14
-0
coverage/coverage-summary.json
package.json
+5
-2
package.json
with
25 additions
and
9 deletions
+25
-9
.github/workflows/ci.yml
+
3
−
4
View file @
d2cc438a
...
...
@@ -26,8 +26,7 @@ jobs:
-
run
:
yarn test
-
name
:
Tests
run
:
yarn test:cov
-
name
:
Generating coverage badge
uses
:
jpb06/jest-badges
-action@
v1.6.0
-
name
:
Coveralls
uses
:
coverallsapp/github
-action@
master
with
:
branches
:
master
\ No newline at end of file
github-token
:
${{ secrets.GITHUB_TOKEN }}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
.gitignore
+
0
−
1
View file @
d2cc438a
node_modules
# Keep environment variables out of version control
.env
coverage
dist
This diff is collapsed.
Click to expand it.
.husky/pre-commit
+
1
−
1
View file @
d2cc438a
#!/bin/sh
.
"
$(
dirname
"
$0
"
)
/_/husky.sh"
# npm test
\ No newline at end of file
npm
test
\ No newline at end of file
This diff is collapsed.
Click to expand it.
.vscode/settings.json
+
2
−
1
View file @
d2cc438a
...
...
@@ -12,7 +12,8 @@
"samwad"
,
"signup"
,
"udise"
,
"userid"
"userid"
,
"uuidv"
],
"editor.codeActionsOnSave"
:
{
"source.fixAll.eslint"
:
true
,
...
...
This diff is collapsed.
Click to expand it.
coverage/coverage-summary.json
0 → 100644
+
14
−
0
View file @
d2cc438a
{
"total"
:
{
"lines"
:{
"total"
:
181
,
"covered"
:
66
,
"skipped"
:
0
,
"pct"
:
36.46
},
"statements"
:{
"total"
:
204
,
"covered"
:
82
,
"skipped"
:
0
,
"pct"
:
40.2
},
"functions"
:{
"total"
:
39
,
"covered"
:
11
,
"skipped"
:
0
,
"pct"
:
28.21
},
"branches"
:{
"total"
:
18
,
"covered"
:
8
,
"skipped"
:
0
,
"pct"
:
44.44
}}
,
"/Users/apple/chaks/samarth/user-service/src/app.controller.ts"
:
{
"lines"
:{
"total"
:
8
,
"covered"
:
7
,
"skipped"
:
0
,
"pct"
:
87.5
},
"functions"
:{
"total"
:
3
,
"covered"
:
2
,
"skipped"
:
0
,
"pct"
:
66.67
},
"statements"
:{
"total"
:
10
,
"covered"
:
9
,
"skipped"
:
0
,
"pct"
:
90
},
"branches"
:{
"total"
:
0
,
"covered"
:
0
,
"skipped"
:
0
,
"pct"
:
100
}}
,
"/Users/apple/chaks/samarth/user-service/src/app.module.ts"
:
{
"lines"
:{
"total"
:
14
,
"covered"
:
0
,
"skipped"
:
0
,
"pct"
:
0
},
"functions"
:{
"total"
:
2
,
"covered"
:
0
,
"skipped"
:
0
,
"pct"
:
0
},
"statements"
:{
"total"
:
16
,
"covered"
:
0
,
"skipped"
:
0
,
"pct"
:
0
},
"branches"
:{
"total"
:
0
,
"covered"
:
0
,
"skipped"
:
0
,
"pct"
:
100
}}
,
"/Users/apple/chaks/samarth/user-service/src/app.service.ts"
:
{
"lines"
:{
"total"
:
3
,
"covered"
:
3
,
"skipped"
:
0
,
"pct"
:
100
},
"functions"
:{
"total"
:
1
,
"covered"
:
1
,
"skipped"
:
0
,
"pct"
:
100
},
"statements"
:{
"total"
:
5
,
"covered"
:
5
,
"skipped"
:
0
,
"pct"
:
100
},
"branches"
:{
"total"
:
0
,
"covered"
:
0
,
"skipped"
:
0
,
"pct"
:
100
}}
,
"/Users/apple/chaks/samarth/user-service/src/main.ts"
:
{
"lines"
:{
"total"
:
5
,
"covered"
:
0
,
"skipped"
:
0
,
"pct"
:
0
},
"functions"
:{
"total"
:
1
,
"covered"
:
0
,
"skipped"
:
0
,
"pct"
:
0
},
"statements"
:{
"total"
:
5
,
"covered"
:
0
,
"skipped"
:
0
,
"pct"
:
0
},
"branches"
:{
"total"
:
0
,
"covered"
:
0
,
"skipped"
:
0
,
"pct"
:
100
}}
,
"/Users/apple/chaks/samarth/user-service/src/user/user.controller.ts"
:
{
"lines"
:{
"total"
:
17
,
"covered"
:
13
,
"skipped"
:
0
,
"pct"
:
76.47
},
"functions"
:{
"total"
:
4
,
"covered"
:
2
,
"skipped"
:
0
,
"pct"
:
50
},
"statements"
:{
"total"
:
19
,
"covered"
:
15
,
"skipped"
:
0
,
"pct"
:
78.95
},
"branches"
:{
"total"
:
0
,
"covered"
:
0
,
"skipped"
:
0
,
"pct"
:
100
}}
,
"/Users/apple/chaks/samarth/user-service/src/user/user.module.ts"
:
{
"lines"
:{
"total"
:
11
,
"covered"
:
0
,
"skipped"
:
0
,
"pct"
:
0
},
"functions"
:{
"total"
:
2
,
"covered"
:
0
,
"skipped"
:
0
,
"pct"
:
0
},
"statements"
:{
"total"
:
13
,
"covered"
:
0
,
"skipped"
:
0
,
"pct"
:
0
},
"branches"
:{
"total"
:
0
,
"covered"
:
0
,
"skipped"
:
0
,
"pct"
:
100
}}
,
"/Users/apple/chaks/samarth/user-service/src/user/fusionauth/fusionauth.service.ts"
:
{
"lines"
:{
"total"
:
3
,
"covered"
:
2
,
"skipped"
:
0
,
"pct"
:
66.67
},
"functions"
:{
"total"
:
1
,
"covered"
:
0
,
"skipped"
:
0
,
"pct"
:
0
},
"statements"
:{
"total"
:
5
,
"covered"
:
4
,
"skipped"
:
0
,
"pct"
:
80
},
"branches"
:{
"total"
:
0
,
"covered"
:
0
,
"skipped"
:
0
,
"pct"
:
100
}}
,
"/Users/apple/chaks/samarth/user-service/src/user/otp/otp.service.ts"
:
{
"lines"
:{
"total"
:
11
,
"covered"
:
6
,
"skipped"
:
0
,
"pct"
:
54.55
},
"functions"
:{
"total"
:
4
,
"covered"
:
1
,
"skipped"
:
0
,
"pct"
:
25
},
"statements"
:{
"total"
:
13
,
"covered"
:
8
,
"skipped"
:
0
,
"pct"
:
61.54
},
"branches"
:{
"total"
:
0
,
"covered"
:
0
,
"skipped"
:
0
,
"pct"
:
100
}}
,
"/Users/apple/chaks/samarth/user-service/src/user/sms/sms.interface.ts"
:
{
"lines"
:{
"total"
:
14
,
"covered"
:
14
,
"skipped"
:
0
,
"pct"
:
100
},
"functions"
:{
"total"
:
4
,
"covered"
:
4
,
"skipped"
:
0
,
"pct"
:
100
},
"statements"
:{
"total"
:
14
,
"covered"
:
14
,
"skipped"
:
0
,
"pct"
:
100
},
"branches"
:{
"total"
:
8
,
"covered"
:
8
,
"skipped"
:
0
,
"pct"
:
100
}}
,
"/Users/apple/chaks/samarth/user-service/src/user/sms/sms.service.ts"
:
{
"lines"
:{
"total"
:
6
,
"covered"
:
2
,
"skipped"
:
0
,
"pct"
:
33.33
},
"functions"
:{
"total"
:
2
,
"covered"
:
0
,
"skipped"
:
0
,
"pct"
:
0
},
"statements"
:{
"total"
:
8
,
"covered"
:
4
,
"skipped"
:
0
,
"pct"
:
50
},
"branches"
:{
"total"
:
0
,
"covered"
:
0
,
"skipped"
:
0
,
"pct"
:
100
}}
,
"/Users/apple/chaks/samarth/user-service/src/user/sms/cdac/cdac.service.ts"
:
{
"lines"
:{
"total"
:
7
,
"covered"
:
3
,
"skipped"
:
0
,
"pct"
:
42.86
},
"functions"
:{
"total"
:
2
,
"covered"
:
0
,
"skipped"
:
0
,
"pct"
:
0
},
"statements"
:{
"total"
:
9
,
"covered"
:
5
,
"skipped"
:
0
,
"pct"
:
55.56
},
"branches"
:{
"total"
:
0
,
"covered"
:
0
,
"skipped"
:
0
,
"pct"
:
100
}}
,
"/Users/apple/chaks/samarth/user-service/src/user/sms/gupshup/gupshup.service.ts"
:
{
"lines"
:{
"total"
:
82
,
"covered"
:
16
,
"skipped"
:
0
,
"pct"
:
19.51
},
"functions"
:{
"total"
:
13
,
"covered"
:
1
,
"skipped"
:
0
,
"pct"
:
7.69
},
"statements"
:{
"total"
:
87
,
"covered"
:
18
,
"skipped"
:
0
,
"pct"
:
20.69
},
"branches"
:{
"total"
:
10
,
"covered"
:
0
,
"skipped"
:
0
,
"pct"
:
0
}}
}
This diff is collapsed.
Click to expand it.
package.json
+
5
−
2
View file @
d2cc438a
...
...
@@ -81,12 +81,15 @@
"testEnvironment"
:
"node"
,
"coverageReporters"
:
[
"json-summary"
,
"text"
"text"
,
"lcov"
]
},
"config"
:
{
"commitizen"
:
{
"path"
:
"./node_modules/cz-conventional-changelog"
"path"
:
"./node_modules/cz-conventional-changelog"
,
"maxHeaderWidth"
:
100
,
"maxLineWidth"
:
100
}
},
"husky"
:
{
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets