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

accordproject / template-archive / 39490482219
90%

Build:
DEFAULT BRANCH: main
Ran 20 Oct 2026 08:17PM UTC
Jobs 3
Files 31
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

20 Oct 2026 08:15PM UTC coverage: 89.679% (+0.2%) from 89.483%
39490482219

push

github

web-flow
feat(cicero-core): read data.json as sample data when there is no sample.json (#964)

* feat(cicero-core): read data.json as sample data when there is no sample.json

cicero-core reads and archives a template's sample data as sample.json,
while `cicero draft` defaults to data.json, the name the template library
and many templates use. So `cicero archive` dropped a data.json template's
sample data.

TemplateLoader now falls back to data.json (fromDirectory and fromArchive)
when there is no sample.json, warning when both exist; toArchive still writes
only sample.json. `cicero draft` defaults to sample.json when the template
has one, else data.json as before.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Matt Roberts <code@rbrts.uk>

* fix(cicero-core): parse only the sample data file that is used

pickSampleData parsed data.json even when sample.json won, so a malformed
data.json beside a valid sample.json stopped fromDirectory and fromArchive.
It now reads both as text and parses only the one it uses.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Matt Roberts <code@rbrts.uk>

---------

Signed-off-by: Matt Roberts <code@rbrts.uk>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>

253 of 288 branches covered (87.85%)

Branch coverage included in aggregate %.

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

807 of 894 relevant lines covered (90.27%)

557.9 hits per line

Jobs
ID Job ID Ran Files Coverage
1 macos-latest - 39490482219.1 20 Oct 2026 08:23PM UTC 54
90.77
GitHub Action Run
2 ubuntu-latest - 39490482219.2 20 Oct 2026 08:17PM UTC 52
91.28
GitHub Action Run
3 windows-latest - 39490482219.3 20 Oct 2026 08:19PM UTC 54
90.68
GitHub Action Run
Source Files on build 39490482219
  • Tree
  • List 31
  • Changed 3
  • Source Changed 3
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #39490482219
  • 93de74ee on github
  • Prev Build on main (#39313233694)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc