Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test PR #1

Closed

Conversation

CyberCitizen01
Copy link
Owner

Corresponds to finos#213

@github-actions
Copy link

Total Coverage: 66.18%

Coverage Report
FileBranchesFuncsLinesUncovered Lines
src/config
   index.js46.43%50%68.09%11, 12, 12, 12, 12, 12, 13, 15, 20, 20, 20, 20, 20, 21, 24, 29, 30, 38, 39, 42, 44, 50, 55, 56, 59, 61, 66, 71, 72, 73
src/db
   helper.js100%0%40%2, 3, 4
   index.js30.77%75%73.58%11, 12, 16, 37, 38, 39, 51, 56, 56, 56, 57, 58, 61, 63, 7, 70, 71, 71, 71, 72, 73, 75, 76
src/db/file
   index.js100%100%100%
   pushes.js14.29%0%35.59%20, 20, 20, 21, 22, 23, 23, 23, 24, 26, 27, 35, 36, 37, 37, 37, 38, 40, 40, 40, 41, 43, 51, 52, 53, 54, 54, 54, 55, 57, 64, 65, 66, 67, 68, 69, 7, 73, 74, 75, 76, 77, 78, 8, 82, 83, 84, 85, 86, 87
   repo.js44.44%88.46%77.03%10, 105, 106, 11, 12, 12, 12, 122, 123, 13, 134, 135, 15, 24, 25, 27, 28, 4, 45, 46, 5, 58, 59, 60, 66, 67, 79, 80, 81, 88, 89, 9
   users.js44.44%80%74.36%12, 13, 28, 29, 4, 40, 41, 5, 53, 54, 63, 63, 63, 64, 65, 66, 66, 66, 67, 69
src/proxy/actions
   Action.js30%16.67%58.97%102, 110, 118, 12, 126, 134, 141, 142, 149, 149, 149, 15, 15, 150, 16, 16, 66, 67, 68, 83, 92, 93, 94
   Step.js100%60%76.19%49, 50, 58, 59, 60
   index.js100%100%100%
src/proxy/processors/push-action
   checkRepoInAuthorisedList.js66.67%100%100%5
src/service
   index.js100%100%100%
src/service/passport
   activeDirectory.js0%0%11.76%15, 16, 16, 16, 17, 20, 20, 20, 21, 23, 27, 28, 3, 31, 32, 35, 36, 4, 6
   index.js33.33%100%81.25%10, 10, 12, 13, 18
   local.js66.67%75%84.62%11, 12, 17, 18, 22, 34
src/service/routes
   auth.js50%66.67%78%103, 107, 113, 116, 119, 16, 35, 35, 35, 36, 43, 49, 57, 74, 92, 93, 98
   healthcheck.js100%0%80%5
   home.js100%100%100%
   index.js100%100%100%
   push.js0%0%22.50%11, 12, 12, 12, 14, 14, 14, 15, 15, 15, 16, 17, 17, 17, 18, 18, 18, 19, 22, 24, 31, 31, 31, 32, 33, 35, 42, 42, 42, 43, 44, 45, 47, 54, 54, 54, 55, 56, 57, 59, 6, 6, 6, 66, 66, 66, 67, 68, 69, 7, 71
   repo.js34.38%71.43%64.79%100, 106, 11, 113, 118, 119, 12, 12, 12, 120, 126, 14, 14, 14, 15, 15, 15, 16, 17, 17, 17, 18, 18, 18, 19, 22, 24, 31, 31, 31, 32, 33, 35, 42, 46, 53, 6, 6, 6, 66, 7, 73, 86, 93, 98, 99
   users.js0%0%19.35%11, 12, 12, 12, 14, 14, 14, 15, 15, 15, 16, 17, 17, 17, 18, 18, 18, 19, 22, 24, 31, 32, 33, 33, 33, 34, 37, 39, 39, 39, 40, 42, 43, 45, 46, 47, 48, 6, 6, 6, 7

@github-actions
Copy link

Total Coverage: 66.18%

Coverage Report
FileBranchesFuncsLinesUncovered Lines
src/config
   index.js46.43%50%68.09%11, 12, 12, 12, 12, 12, 13, 15, 20, 20, 20, 20, 20, 21, 24, 29, 30, 38, 39, 42, 44, 50, 55, 56, 59, 61, 66, 71, 72, 73
src/db
   helper.js100%0%40%2, 3, 4
   index.js30.77%75%73.58%11, 12, 16, 37, 38, 39, 51, 56, 56, 56, 57, 58, 61, 63, 7, 70, 71, 71, 71, 72, 73, 75, 76
src/db/file
   index.js100%100%100%
   pushes.js14.29%0%35.59%20, 20, 20, 21, 22, 23, 23, 23, 24, 26, 27, 35, 36, 37, 37, 37, 38, 40, 40, 40, 41, 43, 51, 52, 53, 54, 54, 54, 55, 57, 64, 65, 66, 67, 68, 69, 7, 73, 74, 75, 76, 77, 78, 8, 82, 83, 84, 85, 86, 87
   repo.js44.44%88.46%77.03%10, 105, 106, 11, 12, 12, 12, 122, 123, 13, 134, 135, 15, 24, 25, 27, 28, 4, 45, 46, 5, 58, 59, 60, 66, 67, 79, 80, 81, 88, 89, 9
   users.js44.44%80%74.36%12, 13, 28, 29, 4, 40, 41, 5, 53, 54, 63, 63, 63, 64, 65, 66, 66, 66, 67, 69
src/proxy/actions
   Action.js30%16.67%58.97%102, 110, 118, 12, 126, 134, 141, 142, 149, 149, 149, 15, 15, 150, 16, 16, 66, 67, 68, 83, 92, 93, 94
   Step.js100%60%76.19%49, 50, 58, 59, 60
   index.js100%100%100%
src/proxy/processors/push-action
   checkRepoInAuthorisedList.js66.67%100%100%5
src/service
   index.js100%100%100%
src/service/passport
   activeDirectory.js0%0%11.76%15, 16, 16, 16, 17, 20, 20, 20, 21, 23, 27, 28, 3, 31, 32, 35, 36, 4, 6
   index.js33.33%100%81.25%10, 10, 12, 13, 18
   local.js66.67%75%84.62%11, 12, 17, 18, 22, 34
src/service/routes
   auth.js50%66.67%78%103, 107, 113, 116, 119, 16, 35, 35, 35, 36, 43, 49, 57, 74, 92, 93, 98
   healthcheck.js100%0%80%5
   home.js100%100%100%
   index.js100%100%100%
   push.js0%0%22.50%11, 12, 12, 12, 14, 14, 14, 15, 15, 15, 16, 17, 17, 17, 18, 18, 18, 19, 22, 24, 31, 31, 31, 32, 33, 35, 42, 42, 42, 43, 44, 45, 47, 54, 54, 54, 55, 56, 57, 59, 6, 6, 6, 66, 66, 66, 67, 68, 69, 7, 71
   repo.js34.38%71.43%64.79%100, 106, 11, 113, 118, 119, 12, 12, 12, 120, 126, 14, 14, 14, 15, 15, 15, 16, 17, 17, 17, 18, 18, 18, 19, 22, 24, 31, 31, 31, 32, 33, 35, 42, 46, 53, 6, 6, 6, 66, 7, 73, 86, 93, 98, 99
   users.js0%0%19.35%11, 12, 12, 12, 14, 14, 14, 15, 15, 15, 16, 17, 17, 17, 18, 18, 18, 19, 22, 24, 31, 32, 33, 33, 33, 34, 37, 39, 39, 39, 40, 42, 43, 45, 46, 47, 48, 6, 6, 6, 7

@github-actions
Copy link

github-actions bot commented Aug 7, 2023

Total Coverage: 66.18%

Coverage Report
FileBranchesFuncsLinesUncovered Lines
src/config
   index.js46.43%50%68.09%11, 12, 12, 12, 12, 12, 13, 15, 20, 20, 20, 20, 20, 21, 24, 29, 30, 38, 39, 42, 44, 50, 55, 56, 59, 61, 66, 71, 72, 73
src/db
   helper.js100%0%40%2, 3, 4
   index.js30.77%75%73.58%11, 12, 16, 37, 38, 39, 51, 56, 56, 56, 57, 58, 61, 63, 7, 70, 71, 71, 71, 72, 73, 75, 76
src/db/file
   index.js100%100%100%
   pushes.js14.29%0%35.59%20, 20, 20, 21, 22, 23, 23, 23, 24, 26, 27, 35, 36, 37, 37, 37, 38, 40, 40, 40, 41, 43, 51, 52, 53, 54, 54, 54, 55, 57, 64, 65, 66, 67, 68, 69, 7, 73, 74, 75, 76, 77, 78, 8, 82, 83, 84, 85, 86, 87
   repo.js44.44%88.46%77.03%10, 105, 106, 11, 12, 12, 12, 122, 123, 13, 134, 135, 15, 24, 25, 27, 28, 4, 45, 46, 5, 58, 59, 60, 66, 67, 79, 80, 81, 88, 89, 9
   users.js44.44%80%74.36%12, 13, 28, 29, 4, 40, 41, 5, 53, 54, 63, 63, 63, 64, 65, 66, 66, 66, 67, 69
src/proxy/actions
   Action.js30%16.67%58.97%102, 110, 118, 12, 126, 134, 141, 142, 149, 149, 149, 15, 15, 150, 16, 16, 66, 67, 68, 83, 92, 93, 94
   Step.js100%60%76.19%49, 50, 58, 59, 60
   index.js100%100%100%
src/proxy/processors/push-action
   checkRepoInAuthorisedList.js66.67%100%100%5
src/service
   index.js100%100%100%
src/service/passport
   activeDirectory.js0%0%11.76%15, 16, 16, 16, 17, 20, 20, 20, 21, 23, 27, 28, 3, 31, 32, 35, 36, 4, 6
   index.js33.33%100%81.25%10, 10, 12, 13, 18
   local.js66.67%75%84.62%11, 12, 17, 18, 22, 34
src/service/routes
   auth.js50%66.67%78%103, 107, 113, 116, 119, 16, 35, 35, 35, 36, 43, 49, 57, 74, 92, 93, 98
   healthcheck.js100%0%80%5
   home.js100%100%100%
   index.js100%100%100%
   push.js0%0%22.50%11, 12, 12, 12, 14, 14, 14, 15, 15, 15, 16, 17, 17, 17, 18, 18, 18, 19, 22, 24, 31, 31, 31, 32, 33, 35, 42, 42, 42, 43, 44, 45, 47, 54, 54, 54, 55, 56, 57, 59, 6, 6, 6, 66, 66, 66, 67, 68, 69, 7, 71
   repo.js34.38%71.43%64.79%100, 106, 11, 113, 118, 119, 12, 12, 12, 120, 126, 14, 14, 14, 15, 15, 15, 16, 17, 17, 17, 18, 18, 18, 19, 22, 24, 31, 31, 31, 32, 33, 35, 42, 46, 53, 6, 6, 6, 66, 7, 73, 86, 93, 98, 99
   users.js0%0%19.35%11, 12, 12, 12, 14, 14, 14, 15, 15, 15, 16, 17, 17, 17, 18, 18, 18, 19, 22, 24, 31, 32, 33, 33, 33, 34, 37, 39, 39, 39, 40, 42, 43, 45, 46, 47, 48, 6, 6, 6, 7

@github-actions
Copy link

github-actions bot commented Aug 8, 2023

Total Coverage: 66.18%

Coverage Report
FileBranchesFuncsLinesUncovered Lines
src/config
   index.js46.43%50%68.09%11, 12, 12, 12, 12, 12, 13, 15, 20, 20, 20, 20, 20, 21, 24, 29, 30, 38, 39, 42, 44, 50, 55, 56, 59, 61, 66, 71, 72, 73
src/db
   helper.js100%0%40%2, 3, 4
   index.js30.77%75%73.58%11, 12, 16, 37, 38, 39, 51, 56, 56, 56, 57, 58, 61, 63, 7, 70, 71, 71, 71, 72, 73, 75, 76
src/db/file
   index.js100%100%100%
   pushes.js14.29%0%35.59%20, 20, 20, 21, 22, 23, 23, 23, 24, 26, 27, 35, 36, 37, 37, 37, 38, 40, 40, 40, 41, 43, 51, 52, 53, 54, 54, 54, 55, 57, 64, 65, 66, 67, 68, 69, 7, 73, 74, 75, 76, 77, 78, 8, 82, 83, 84, 85, 86, 87
   repo.js44.44%88.46%77.03%10, 105, 106, 11, 12, 12, 12, 122, 123, 13, 134, 135, 15, 24, 25, 27, 28, 4, 45, 46, 5, 58, 59, 60, 66, 67, 79, 80, 81, 88, 89, 9
   users.js44.44%80%74.36%12, 13, 28, 29, 4, 40, 41, 5, 53, 54, 63, 63, 63, 64, 65, 66, 66, 66, 67, 69
src/proxy/actions
   Action.js30%16.67%58.97%102, 110, 118, 12, 126, 134, 141, 142, 149, 149, 149, 15, 15, 150, 16, 16, 66, 67, 68, 83, 92, 93, 94
   Step.js100%60%76.19%49, 50, 58, 59, 60
   index.js100%100%100%
src/proxy/processors/push-action
   checkRepoInAuthorisedList.js66.67%100%100%5
src/service
   index.js100%100%100%
src/service/passport
   activeDirectory.js0%0%11.76%15, 16, 16, 16, 17, 20, 20, 20, 21, 23, 27, 28, 3, 31, 32, 35, 36, 4, 6
   index.js33.33%100%81.25%10, 10, 12, 13, 18
   local.js66.67%75%84.62%11, 12, 17, 18, 22, 34
src/service/routes
   auth.js50%66.67%78%103, 107, 113, 116, 119, 16, 35, 35, 35, 36, 43, 49, 57, 74, 92, 93, 98
   healthcheck.js100%0%80%5
   home.js100%100%100%
   index.js100%100%100%
   push.js0%0%22.50%11, 12, 12, 12, 14, 14, 14, 15, 15, 15, 16, 17, 17, 17, 18, 18, 18, 19, 22, 24, 31, 31, 31, 32, 33, 35, 42, 42, 42, 43, 44, 45, 47, 54, 54, 54, 55, 56, 57, 59, 6, 6, 6, 66, 66, 66, 67, 68, 69, 7, 71
   repo.js34.38%71.43%64.79%100, 106, 11, 113, 118, 119, 12, 12, 12, 120, 126, 14, 14, 14, 15, 15, 15, 16, 17, 17, 17, 18, 18, 18, 19, 22, 24, 31, 31, 31, 32, 33, 35, 42, 46, 53, 6, 6, 6, 66, 7, 73, 86, 93, 98, 99
   users.js0%0%19.35%11, 12, 12, 12, 14, 14, 14, 15, 15, 15, 16, 17, 17, 17, 18, 18, 18, 19, 22, 24, 31, 32, 33, 33, 33, 34, 37, 39, 39, 39, 40, 42, 43, 45, 46, 47, 48, 6, 6, 6, 7

@github-actions
Copy link

github-actions bot commented Oct 4, 2023

Total Coverage: 64.93%

Coverage Report
FileBranchesFuncsLinesUncovered Lines
packages/git-proxy-notify-hello
   index.js100%0%12.50%11, 2, 4, 5, 6, 7, 8
src
   plugin.js50%44.44%57.14%120, 121, 129, 130, 35, 38, 39, 40, 41, 42, 44, 45, 46, 48, 74, 75, 78, 88, 90, 91, 91, 91, 92, 92, 95, 98
src/config
   index.js46.43%50%68.09%11, 12, 12, 12, 12, 12, 13, 15, 20, 20, 20, 20, 20, 21, 24, 29, 30, 38, 39, 42, 44, 50, 55, 56, 59, 61, 66, 71, 72, 73
src/db
   helper.js100%0%40%2, 3, 4
   index.js30.77%75%73.58%11, 12, 20, 42, 43, 44, 56, 61, 61, 61, 62, 63, 66, 68, 7, 75, 76, 76, 76, 77, 78, 80, 81
src/db/file
   index.js100%100%100%
   pushes.js14.29%0%35.59%20, 20, 20, 21, 22, 23, 23, 23, 24, 26, 28, 37, 38, 39, 39, 39, 40, 42, 42, 42, 43, 45, 53, 54, 55, 56, 56, 56, 57, 59, 66, 67, 68, 69, 7, 70, 71, 75, 76, 77, 78, 79, 8, 80, 84, 85, 86, 87, 88, 89
   repo.js44.44%88.46%77.03%10, 105, 106, 11, 12, 12, 12, 122, 123, 13, 134, 135, 15, 24, 25, 27, 28, 4, 45, 46, 5, 58, 59, 60, 66, 67, 79, 80, 81, 88, 89, 9
   users.js44.44%80%74.36%12, 13, 28, 29, 4, 40, 41, 5, 53, 54, 63, 63, 63, 64, 65, 66, 66, 66, 67, 69
src/proxy/actions
   Action.js30%16.67%58.97%104, 112, 12, 120, 128, 136, 143, 144, 15, 15, 151, 151, 151, 152, 17, 17, 68, 69, 70, 85, 94, 95, 96
   Step.js100%60%76.19%50, 51, 59, 60, 61
   index.js100%100%100%
src/proxy/processors/push-action
   checkRepoInAuthorisedList.js66.67%100%100%5
src/service
   index.js100%100%100%
src/service/passport
   activeDirectory.js0%0%11.76%18, 19, 19, 19, 20, 23, 23, 23, 24, 26, 3, 32, 33, 36, 37, 4, 40, 41, 6
   index.js33.33%100%81.25%10, 10, 12, 13, 18
   local.js66.67%75%84.62%12, 13, 18, 19, 24, 39
src/service/routes
   auth.js50%66.67%76.47%102, 107, 111, 117, 120, 123, 16, 34, 34, 34, 35, 42, 48, 56, 57, 74, 93, 94
   healthcheck.js100%0%80%5
   home.js100%100%100%
   index.js100%100%100%
   push.js0%0%22.50%11, 12, 12, 12, 14, 14, 14, 15, 15, 15, 16, 17, 17, 17, 18, 18, 18, 19, 22, 24, 31, 31, 31, 32, 33, 35, 42, 42, 42, 43, 44, 45, 47, 54, 54, 54, 55, 56, 57, 59, 6, 6, 6, 66, 66, 66, 67, 68, 69, 7, 71
   repo.js34.38%71.43%64.79%100, 106, 11, 113, 118, 119, 12, 12, 12, 120, 126, 14, 14, 14, 15, 15, 15, 16, 17, 17, 17, 18, 18, 18, 19, 22, 24, 31, 31, 31, 32, 33, 35, 42, 46, 53, 6, 6, 6, 66, 7, 73, 86, 93, 98, 99
   users.js0%0%19.35%11, 12, 12, 12, 14, 14, 14, 15, 15, 15, 16, 17, 17, 17, 18, 18, 18, 19, 22, 24, 31, 32, 33, 33, 33, 34, 37, 39, 39, 39, 40, 42, 43, 45, 46, 47, 48, 6, 6, 6, 7

@github-actions
Copy link

Total Coverage: 64.74%

Coverage Report
FileBranchesFuncsLinesUncovered Lines
packages/git-proxy-notify-hello
   index.js100%0%12.50%11, 2, 4, 5, 6, 7, 8
src
   plugin.js50%44.44%57.14%120, 121, 129, 130, 35, 38, 39, 40, 41, 42, 44, 45, 46, 48, 74, 75, 78, 88, 90, 91, 91, 91, 92, 92, 95, 98
src/db
   helper.js100%0%40%2, 3, 4
   index.js30.77%75%73.58%11, 12, 20, 42, 43, 44, 56, 61, 61, 61, 62, 63, 66, 68, 7, 75, 76, 76, 76, 77, 78, 80, 81
src/db/file
   pushes.js14.29%0%35.59%20, 20, 20, 21, 22, 23, 23, 23, 24, 26, 28, 37, 38, 39, 39, 39, 40, 42, 42, 42, 43, 45, 53, 54, 55, 56, 56, 56, 57, 59, 66, 67, 68, 69, 7, 70, 71, 75, 76, 77, 78, 79, 8, 80, 84, 85, 86, 87, 88, 89
   repo.js44.44%88.46%77.03%10, 105, 106, 11, 12, 12, 12, 122, 123, 13, 134, 135, 15, 24, 25, 27, 28, 4, 45, 46, 5, 58, 59, 60, 66, 67, 79, 80, 81, 88, 89, 9
   users.js44.44%80%74.36%12, 13, 28, 29, 4, 40, 41, 5, 53, 54, 63, 63, 63, 64, 65, 66, 66, 66, 67, 69
src/proxy/actions
   Action.js30%16.67%58.97%104, 112, 12, 120, 128, 136, 143, 144, 15, 15, 151, 151, 151, 152, 17, 17, 68, 69, 70, 85, 94, 95, 96
   Step.js100%60%76.19%50, 51, 59, 60, 61
src/proxy/processors/push-action
   checkRepoInAuthorisedList.js66.67%100%100%5
src/service
   index.js100%100%100%
src/service/passport
   activeDirectory.js0%0%11.76%18, 19, 19, 19, 20, 23, 23, 23, 24, 26, 3, 32, 33, 36, 37, 4, 40, 41, 6
   local.js66.67%75%84.62%12, 13, 18, 19, 24, 39
src/service/routes
   auth.js50%66.67%76.47%102, 107, 111, 117, 120, 123, 16, 34, 34, 34, 35, 42, 48, 56, 57, 74, 93, 94
   healthcheck.js100%0%80%5
   home.js100%100%100%
   repo.js34.38%71.43%64.79%100, 106, 11, 113, 118, 119, 12, 12, 12, 120, 126, 14, 14, 14, 15, 15, 15, 16, 17, 17, 17, 18, 18, 18, 19, 22, 24, 31, 31, 31, 32, 33, 35, 42, 46, 53, 6, 6, 6, 66, 7, 73, 86, 93, 98, 99
   users.js0%0%19.35%11, 12, 12, 12, 14, 14, 14, 15, 15, 15, 16, 17, 17, 17, 18, 18, 18, 19, 22, 24, 31, 32, 33, 33, 33, 34, 37, 39, 39, 39, 40, 42, 43, 45, 46, 47, 48, 6, 6, 6, 7

@github-actions
Copy link

Total Coverage: 66.67%

Coverage Report
FileBranchesFuncsLinesUncovered Lines
packages/git-proxy-notify-hello
   index.js100%0%12.50%11, 2, 4, 5, 6, 7, 8
src
   plugin.js50%44.44%57.14%120, 121, 129, 130, 35, 38, 39, 40, 41, 42, 44, 45, 46, 48, 74, 75, 78, 88, 90, 91, 91, 91, 92, 92, 95, 98
src/config
   file.js100%100%100%
   index.js76.92%80%88.89%17, 39, 41, 47, 56, 58, 63, 68, 69, 7, 70
src/db
   helper.js100%0%40%2, 3, 4
   index.js30.77%75%73.58%11, 12, 20, 42, 43, 44, 56, 61, 61, 61, 62, 63, 66, 68, 7, 75, 76, 76, 76, 77, 78, 80, 81
src/db/file
   pushes.js14.29%0%35.59%20, 20, 20, 21, 22, 23, 23, 23, 24, 26, 28, 37, 38, 39, 39, 39, 40, 42, 42, 42, 43, 45, 53, 54, 55, 56, 56, 56, 57, 59, 66, 67, 68, 69, 7, 70, 71, 75, 76, 77, 78, 79, 8, 80, 84, 85, 86, 87, 88, 89
   repo.js44.44%88.46%77.03%10, 105, 106, 11, 12, 12, 12, 122, 123, 13, 134, 135, 15, 24, 25, 27, 28, 4, 45, 46, 5, 58, 59, 60, 66, 67, 79, 80, 81, 88, 89, 9
   users.js44.44%80%74.36%12, 13, 28, 29, 4, 40, 41, 5, 53, 54, 63, 63, 63, 64, 65, 66, 66, 66, 67, 69
src/proxy/actions
   Action.js30%16.67%58.97%104, 112, 12, 120, 128, 136, 143, 144, 15, 15, 151, 151, 151, 152, 17, 17, 68, 69, 70, 85, 94, 95, 96
   Step.js100%60%76.19%50, 51, 59, 60, 61
src/proxy/processors/push-action
   checkRepoInAuthorisedList.js66.67%100%100%5
src/service
   index.js100%100%100%
src/service/passport
   activeDirectory.js0%0%11.76%18, 19, 19, 19, 20, 23, 23, 23, 24, 26, 3, 32, 33, 36, 37, 4, 40, 41, 6
   local.js66.67%75%84.62%12, 13, 18, 19, 24, 39
src/service/routes
   auth.js50%66.67%76.47%102, 107, 111, 117, 120, 123, 16, 34, 34, 34, 35, 42, 48, 56, 57, 74, 93, 94
   healthcheck.js100%0%80%5
   home.js100%100%100%
   repo.js34.38%71.43%64.79%100, 106, 11, 113, 118, 119, 12, 12, 12, 120, 126, 14, 14, 14, 15, 15, 15, 16, 17, 17, 17, 18, 18, 18, 19, 22, 24, 31, 31, 31, 32, 33, 35, 42, 46, 53, 6, 6, 6, 66, 7, 73, 86, 93, 98, 99
   users.js0%0%19.35%11, 12, 12, 12, 14, 14, 14, 15, 15, 15, 16, 17, 17, 17, 18, 18, 18, 19, 22, 24, 31, 32, 33, 33, 33, 34, 37, 39, 39, 39, 40, 42, 43, 45, 46, 47, 48, 6, 6, 6, 7

@github-actions
Copy link

Total Coverage: 66.67%

Coverage Report
FileBranchesFuncsLinesUncovered Lines
packages/git-proxy-notify-hello
   index.js100%0%12.50%11, 2, 4, 5, 6, 7, 8
src
   plugin.js50%44.44%57.14%120, 121, 129, 130, 35, 38, 39, 40, 41, 42, 44, 45, 46, 48, 74, 75, 78, 88, 90, 91, 91, 91, 92, 92, 95, 98
src/config
   file.js100%100%100%
   index.js76.92%80%88.89%17, 39, 41, 47, 56, 58, 63, 68, 69, 7, 70
src/db
   helper.js100%0%40%2, 3, 4
   index.js30.77%75%73.58%11, 12, 20, 42, 43, 44, 56, 61, 61, 61, 62, 63, 66, 68, 7, 75, 76, 76, 76, 77, 78, 80, 81
src/db/file
   pushes.js14.29%0%35.59%20, 20, 20, 21, 22, 23, 23, 23, 24, 26, 28, 37, 38, 39, 39, 39, 40, 42, 42, 42, 43, 45, 53, 54, 55, 56, 56, 56, 57, 59, 66, 67, 68, 69, 7, 70, 71, 75, 76, 77, 78, 79, 8, 80, 84, 85, 86, 87, 88, 89
   repo.js44.44%88.46%77.03%10, 105, 106, 11, 12, 12, 12, 122, 123, 13, 134, 135, 15, 24, 25, 27, 28, 4, 45, 46, 5, 58, 59, 60, 66, 67, 79, 80, 81, 88, 89, 9
   users.js44.44%80%74.36%12, 13, 28, 29, 4, 40, 41, 5, 53, 54, 63, 63, 63, 64, 65, 66, 66, 66, 67, 69
src/proxy/actions
   Action.js30%16.67%58.97%104, 112, 12, 120, 128, 136, 143, 144, 15, 15, 151, 151, 151, 152, 17, 17, 68, 69, 70, 85, 94, 95, 96
   Step.js100%60%76.19%50, 51, 59, 60, 61
src/proxy/processors/push-action
   checkRepoInAuthorisedList.js66.67%100%100%5
src/service
   index.js100%100%100%
src/service/passport
   activeDirectory.js0%0%11.76%18, 19, 19, 19, 20, 23, 23, 23, 24, 26, 3, 32, 33, 36, 37, 4, 40, 41, 6
   local.js66.67%75%84.62%12, 13, 18, 19, 24, 39
src/service/routes
   auth.js50%66.67%76.47%102, 107, 111, 117, 120, 123, 16, 34, 34, 34, 35, 42, 48, 56, 57, 74, 93, 94
   healthcheck.js100%0%80%5
   home.js100%100%100%
   repo.js34.38%71.43%64.79%100, 106, 11, 113, 118, 119, 12, 12, 12, 120, 126, 14, 14, 14, 15, 15, 15, 16, 17, 17, 17, 18, 18, 18, 19, 22, 24, 31, 31, 31, 32, 33, 35, 42, 46, 53, 6, 6, 6, 66, 7, 73, 86, 93, 98, 99
   users.js0%0%19.35%11, 12, 12, 12, 14, 14, 14, 15, 15, 15, 16, 17, 17, 17, 18, 18, 18, 19, 22, 24, 31, 32, 33, 33, 33, 34, 37, 39, 39, 39, 40, 42, 43, 45, 46, 47, 48, 6, 6, 6, 7

@github-actions
Copy link

Total Coverage: 66.67%

Coverage Report
FileBranchesFuncsLinesUncovered Lines
packages/git-proxy-notify-hello
   index.js100%0%12.50%11, 2, 4, 5, 6, 7, 8
src
   plugin.js50%44.44%57.14%120, 121, 129, 130, 35, 38, 39, 40, 41, 42, 44, 45, 46, 48, 74, 75, 78, 88, 90, 91, 91, 91, 92, 92, 95, 98
src/config
   file.js100%100%100%
   index.js76.92%80%88.89%17, 39, 41, 47, 56, 58, 63, 68, 69, 7, 70
src/db
   helper.js100%0%40%2, 3, 4
   index.js30.77%75%73.58%11, 12, 20, 42, 43, 44, 56, 61, 61, 61, 62, 63, 66, 68, 7, 75, 76, 76, 76, 77, 78, 80, 81
src/db/file
   pushes.js14.29%0%35.59%20, 20, 20, 21, 22, 23, 23, 23, 24, 26, 28, 37, 38, 39, 39, 39, 40, 42, 42, 42, 43, 45, 53, 54, 55, 56, 56, 56, 57, 59, 66, 67, 68, 69, 7, 70, 71, 75, 76, 77, 78, 79, 8, 80, 84, 85, 86, 87, 88, 89
   repo.js44.44%88.46%77.03%10, 105, 106, 11, 12, 12, 12, 122, 123, 13, 134, 135, 15, 24, 25, 27, 28, 4, 45, 46, 5, 58, 59, 60, 66, 67, 79, 80, 81, 88, 89, 9
   users.js44.44%80%74.36%12, 13, 28, 29, 4, 40, 41, 5, 53, 54, 63, 63, 63, 64, 65, 66, 66, 66, 67, 69
src/proxy/actions
   Action.js30%16.67%58.97%104, 112, 12, 120, 128, 136, 143, 144, 15, 15, 151, 151, 151, 152, 17, 17, 68, 69, 70, 85, 94, 95, 96
   Step.js100%60%76.19%50, 51, 59, 60, 61
src/proxy/processors/push-action
   checkRepoInAuthorisedList.js66.67%100%100%5
src/service
   index.js100%100%100%
src/service/passport
   activeDirectory.js0%0%11.76%18, 19, 19, 19, 20, 23, 23, 23, 24, 26, 3, 32, 33, 36, 37, 4, 40, 41, 6
   local.js66.67%75%84.62%12, 13, 18, 19, 24, 39
src/service/routes
   auth.js50%66.67%76.47%102, 107, 111, 117, 120, 123, 16, 34, 34, 34, 35, 42, 48, 56, 57, 74, 93, 94
   healthcheck.js100%0%80%5
   home.js100%100%100%
   repo.js34.38%71.43%64.79%100, 106, 11, 113, 118, 119, 12, 12, 12, 120, 126, 14, 14, 14, 15, 15, 15, 16, 17, 17, 17, 18, 18, 18, 19, 22, 24, 31, 31, 31, 32, 33, 35, 42, 46, 53, 6, 6, 6, 66, 7, 73, 86, 93, 98, 99
   users.js0%0%19.35%11, 12, 12, 12, 14, 14, 14, 15, 15, 15, 16, 17, 17, 17, 18, 18, 18, 19, 22, 24, 31, 32, 33, 33, 33, 34, 37, 39, 39, 39, 40, 42, 43, 45, 46, 47, 48, 6, 6, 6, 7

Copy link

Total Coverage: 100.00%

Coverage Report
FileBranchesFuncsLinesUncovered Lines
src/config
   env.js100%100%100%
src/service
   index.js100%100%100%

Copy link

Total Coverage: 100.00%

Coverage Report
FileBranchesFuncsLinesUncovered Lines
src/config
   env.js100%100%100%
src/service
   index.js100%100%100%

CyberCitizen01 and others added 2 commits January 22, 2024 10:08
…actions-report-lcov`


The original action used is based on a deprecated version of @actions/core that runs on Node 12.x & generates a deprecation warning.

Co-authored-by: Thomas Cooper <[email protected]>
Copy link

LCOV of commit e1d6117 during Node.js CI #21

Summary coverage rate:
  lines......: 100.0% (26 of 26 lines)
  functions..: 100.0% (1 of 1 function)
  branches...: 100.0% (2 of 2 branches)

Files changed coverage rate:
                      |Lines       |Functions  |Branches    
  Filename            |Rate     Num|Rate    Num|Rate     Num
  ==========================================================
  src/config/env.js   | 100%      2|    -     0| 100%      2
  src/service/index.js| 100%     24| 100%     1|    -      0

@CyberCitizen01 CyberCitizen01 force-pushed the 203-implement-code-coverage-reports-on-pull-requests branch from e75209f to e40cfce Compare January 23, 2024 11:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants