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

ingitdb / ingitdb-cli / 22662929619
96%

Build:
DEFAULT BRANCH: main
Ran 04 Mar 2026 09:20AM UTC
Jobs 1
Files 81
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

04 Mar 2026 09:19AM UTC coverage: 97.03% (-0.5%) from 97.562%
22662929619

push

github

trakhimenok
feat(schema): add .collections/ shared-directory layout support

Adds support for the .collections/{name}/definition.yaml layout
alongside the existing .collection/definition.yaml approach.

- New constants: CollectionsDir (.collections), SharedViewsDir ($views)
- readCollectionDef: detects layout by checking both definition file
  paths; returns error if both exist in the same directory (conflict)
- New layout: DirPath resolved to parent of .collections/ + data_dir
- Views loaded from .collections/{name}/$views/*.yaml (new layout)
  or .collection/views/*.yaml (old layout)
- New readCollectionDefShared + loadSubCollectionsShared for recursive
  subcollection discovery in new layout (direct non-$-prefixed subdirs)
- loadViews signature updated to take the full views dir path directly
- Tests updated; three new tests cover two-collection shared dir,
  views+subcollection discovery, and conflict error

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

106 of 133 new or added lines in 1 file covered. (79.7%)

7 existing lines in 1 file now uncovered.

5718 of 5893 relevant lines covered (97.03%)

1.14 hits per line

Uncovered Changes

Lines Coverage ∆ File
27
87.73
-12.27% pkg/ingitdb/validator/def_validator.go

Coverage Regressions

Lines Coverage ∆ File
7
87.73
-12.27% pkg/ingitdb/validator/def_validator.go
Jobs
ID Job ID Ran Files Coverage
1 22662929619.1 04 Mar 2026 09:20AM UTC 81
97.03
GitHub Action Run
Source Files on build 22662929619
  • Tree
  • List 81
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 650ab4c1 on github
  • Prev Build on main (#22640837097)
  • Next Build on main (#22669163246)
  • 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