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

MITLibraries / dspace-submission-composer / 13552939183
95%

Build:
DEFAULT BRANCH: main
Ran 26 Feb 2025 08:39PM UTC
Jobs 1
Files 17
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

26 Feb 2025 08:38PM UTC coverage: 94.261% (+0.04%) from 94.22%
13552939183

push

github

web-flow
Add OpenCourseWare metadata preprocessing for 'subjects' field (#155)

Why these changes are being introduced:
* For OCW source metadata JSON files ('data.json'), the 'topics' property
is structured as an array of arrays containing string values. For each
array of strings, the topic terms need to be concatenated to match the
expected format set by stakeholders: "<topic term> - ... - <topic term n>".
Additionally, an update to Workflow.create_dspace_metadata was implemented
to allow handling of list field values.

How this addresses that need:
* Update Workflow.create_dspace_metadata to check for and handle
list field values
* Refactor '_get_instructors_delimited_string' to return list
of formatted instructor names (instead of delimited string)
* Add '_get_topics_list' method to return list of formatted topics
* Update 123.zip fixture to include 'topics' property
* Add and update unit tests

Side effects of this change:
* None

Relevant ticket(s):
* https://mitlibraries.atlassian.net/browse/IN-1176
* https://mitlibraries.atlassian.net/browse/IN-1159

13 of 13 new or added lines in 2 files covered. (100.0%)

657 of 697 relevant lines covered (94.26%)

0.94 hits per line

Jobs
ID Job ID Ran Files Coverage
1 13552939183.1 26 Feb 2025 08:39PM UTC 17
94.26
GitHub Action Run
Source Files on build 13552939183
  • Tree
  • List 17
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #13552939183
  • 207a488e on github
  • Prev Build on main (#13528657865)
  • Next Build on main (#13596240336)
  • 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

© 2026 Coveralls, Inc