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

ghga-de / ghga-connector / 19494939692
79%

Build:
DEFAULT BRANCH: main
Ran 19 Nov 2025 08:37AM UTC
Jobs 1
Files 33
Run time 1min
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

19 Nov 2025 08:34AM UTC coverage: 79.24% (+1.5%) from 77.761%
19494939692

push

github

web-flow
Upload Path (GSI-1860) (#122)

* Commit initial changes to upload path

* Tweaks to code and add some tests

* Add basic tests for upload

* Provide a clean way to perform batch uploads

* Move encrypted file size calc to Encryptor class

* Rename function for accuracy

* Adapt UploadClient for new transport

* Fix encrypted_is_empty() & document + refactor process_file()

* Strip paths

Co-authored-by: Thomas Zajac <thomas-jakob.zajac@uni-tuebingen.de>

* Condense 401 and 403 in match case with same actions for each

Co-authored-by: Thomas Zajac <thomas-jakob.zajac@uni-tuebingen.de>

* Remove stray print in test_cli.py

* Fix Bearer token string in UploadClient calls

* Simplify and consolidate the three top-level file upload errors

* Update src/ghga_connector/exceptions.py

Co-authored-by: Thomas Zajac <thomas-jakob.zajac@uni-tuebingen.de>

* Convert BatchUploader into a function and restrict config parameters

* Add file path debug log

* Resolve file path to uploaded files

* Improve global config access for testing patching

* Simply checksum access by making members public

* Make FileUpload deletion error also subclass _FileUploadError and include a reason

---------

Co-authored-by: Thomas Zajac <thomas-jakob.zajac@uni-tuebingen.de>

355 of 434 new or added lines in 15 files covered. (81.8%)

20 existing lines in 6 files now uncovered.

1126 of 1421 relevant lines covered (79.24%)

0.79 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
3
88.3
4.77% src/ghga_connector/core/work_package.py
4
0.0
0.0% src/ghga_connector/cli.py
4
85.19
src/ghga_connector/core/uploading/batch_processing.py
6
87.67
-4.22% src/ghga_connector/core/crypt/encryption.py
6
95.12
src/ghga_connector/core/uploading/api_calls.py
9
71.86
0.06% src/ghga_connector/exceptions.py
11
80.65
16.31% src/ghga_connector/core/uploading/uploader.py
16
59.77
-3.19% src/ghga_connector/core/utils.py
20
67.65
-14.44% src/ghga_connector/core/main.py

Uncovered Existing Lines

Lines Coverage ∆ File
1
97.06
-2.94% src/ghga_connector/core/file_operations.py
1
80.65
16.31% src/ghga_connector/core/uploading/uploader.py
2
0.0
0.0% src/ghga_connector/cli.py
3
87.67
-4.22% src/ghga_connector/core/crypt/encryption.py
3
62.5
-37.5% src/ghga_connector/core/http_translation.py
10
71.86
0.06% src/ghga_connector/exceptions.py
Jobs
ID Job ID Ran Files Coverage
1 19494939692.1 19 Nov 2025 08:37AM UTC 33
79.24
GitHub Action Run
Source Files on build 19494939692
  • Tree
  • List 33
  • Changed 17
  • Source Changed 0
  • Coverage Changed 17
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • e3681b8f on github
  • Prev Build on main (#19330373754)
  • Next Build on main (#19669542573)
  • 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