• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

raystack / frontier / 11174184534
38%

Build:
DEFAULT BRANCH: main
Ran 04 Oct 2024 04:54AM UTC
Jobs 1
Files 303
Run time 2min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

04 Oct 2024 04:50AM UTC coverage: 9.669% (-0.03%) from 9.703%
11174184534

push

github

web-flow
feat: set billing customer credit min limit (#781)

- If a billing account credit min limit is set less then 0,
it works as overdraft. Default is 0.
- If a org billing account is in overdraft state, it's not
allowed to create new billing account unless the dues are
settled.
- Setting this limit more then 0 works as min purchase requirement
for the account.
- Only platform admins can change the account limits.
- https://github.com/raystack/proton/pull/370

Signed-off-by: Kush Sharma <thekushsharma@gmail.com>

29 of 584 new or added lines in 14 files covered. (4.97%)

4 existing lines in 3 files now uncovered.

11008 of 113854 relevant lines covered (9.67%)

2.49 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
0.0
0.0% cmd/serve.go
3
25.73
1.21% billing/customer/service.go
3
0.0
0.0% pkg/server/interceptors/authorization.go
6
8.9
0.15% internal/api/v1beta1/billing_customer.go
26
0.0
0.0% proto/v1beta1/admin_grpc.pb.go
27
42.19
-4.51% internal/store/postgres/billing_customer_repository.go
37
0.0
0.0% billing/customer/mocks/repository.go
37
7.63
-0.89% internal/api/v1beta1/mocks/customer_service.go
46
0.0
billing/customer/mocks/credit_service.go
60
3.17
3.17% internal/store/postgres/billing_transactions_repository.go
81
5.59
-0.2% proto/v1beta1/admin.pb.go
111
0.0
0.0% proto/v1beta1/admin.pb.gw.go
116
0.0
0.0% proto/v1beta1/admin.pb.validate.go

Uncovered Existing Lines

Lines Coverage ∆ File
1
3.17
3.17% internal/store/postgres/billing_transactions_repository.go
1
0.0
0.0% proto/v1beta1/admin_grpc.pb.go
2
0.0
0.0% proto/v1beta1/admin.pb.gw.go
Jobs
ID Job ID Ran Files Coverage
1 11174184534.1 04 Oct 2024 04:54AM UTC 303
9.67
GitHub Action Run
Source Files on build 11174184534
  • Tree
  • List 303
  • Changed 17
  • Source Changed 0
  • Coverage Changed 14
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • bbebf12c on github
  • Prev Build on main (#11159729320)
  • Next Build on main (#11177548571)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc