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

Clinical-Genomics / cg / 13135700396
86%

Build:
DEFAULT BRANCH: master
Ran 04 Feb 2025 12:44PM UTC
Jobs 1
Files 817
Run time 3min
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 Feb 2025 12:42PM UTC coverage: 85.523% (+2.8%) from 82.738%
13135700396

push

github

web-flow
Add pagination to the cases and samples endpoints (#3962)

## Description
Addresses the backend part of https://github.com/Clinical-Genomics/clinical-genomics-ui/issues/601

Modifies the response of the `get_cases` and `get_samples` endpoints to return truncated lists of samples and cases based on the pagination info in the request from the front-end.

### Added

- Case service for the endpoint

### Changed

- functions in the crud that return cases/samples so that they return also the total number of cases/samples
- moved application and sample services to we_services directory
- Improve the file structure of web services
---------

Co-authored-by: Sebastian Diaz <juan.sebastian.diaz.boada@scilifelab.se>

68 of 116 new or added lines in 14 files covered. (58.62%)

25988 of 30387 relevant lines covered (85.52%)

0.86 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
99.52
-0.48% cg/constants/constants.py
3
55.74
3.43% cg/server/endpoints/cases.py
4
66.67
cg/services/web_services/case/service.py
5
47.37
8.73% cg/server/endpoints/samples.py
5
34.62
cg/services/web_services/sample/utils.py
30
34.78
cg/services/web_services/sample/service.py
Jobs
ID Job ID Ran Files Coverage
1 13135700396.1 04 Feb 2025 12:44PM UTC 817
85.52
GitHub Action Run
Source Files on build 13135700396
  • Tree
  • List 817
  • Changed 8
  • Source Changed 0
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • aed95ebd on github
  • Prev Build on master (#13132256823)
  • Next Build on master (#13135818121)
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

© 2026 Coveralls, Inc