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

CSCfi / metadata-submitter / 14175338480
72%
master: 68%

Build:
Build:
LAST BUILD BRANCH: main
DEFAULT BRANCH: master
Ran 31 Mar 2025 03:30PM UTC
Jobs 1
Files 39
Run time 25min
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

31 Mar 2025 03:29PM UTC coverage: 72.806% (+0.09%) from 72.716%
14175338480

push

github

Joonatan Mäkinen
Mock PID service and PID tests (merge commit)

Merge branch 'test/pid' into 'main'
* Refactor Datacite draft DOI creation into single method

* Fix submissions without a study not getting published to Datacite

* Move DOI integration tests to one file

* Add DOI prefix checks to integration tests to verify correct DOI service is used

* Return PID status as down when connection to PID cannot be established

* Add PID unit tests

* Rename doi tests to datacite tests. Fix datacite tests not being awaited.

* Add mock PID service

Closes #839 and #859
See merge request https://gitlab.ci.csc.fi/sds-dev/sd-submit/metadata-submitter/-/merge_requests/976

Approved-by: Joonatan Mäkinen <jmakine@csc.fi>
Co-authored-by: Monika Radaviciute <mradavic@csc.fi>
Merged by Joonatan Mäkinen <jmakine@csc.fi>

16 of 33 new or added lines in 3 files covered. (48.48%)

11 existing lines in 3 files now uncovered.

2937 of 4034 relevant lines covered (72.81%)

0.73 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
4
47.46
0.82% metadata_backend/api/handlers/publish.py
5
50.75
11.35% metadata_backend/services/datacite_service_handler.py
8
75.68
-0.99% metadata_backend/services/pid_ms_handler.py

Uncovered Existing Lines

Lines Coverage ∆ File
1
47.46
0.82% metadata_backend/api/handlers/publish.py
1
50.75
11.35% metadata_backend/services/datacite_service_handler.py
9
75.71
-8.57% metadata_backend/services/service_handler.py
Jobs
ID Job ID Ran Files Coverage
1 14175338480.1 31 Mar 2025 03:30PM UTC 39
72.81
GitHub Action Run
Source Files on build 14175338480
  • Tree
  • List 39
  • Changed 4
  • Source Changed 0
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • b8670643 on github
  • Prev Build on main (#14172308686)
  • Next Build on main (#14197458860)
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