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

fogfish / iq / 20680429755
36%
main: 31%

Build:
Build:
LAST BUILD BRANCH: fea-mime-markdown
DEFAULT BRANCH: main
Ran 03 Jan 2026 05:19PM UTC
Jobs 1
Files 40
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

03 Jan 2026 05:17PM UTC coverage: 36.446%. First build
20680429755

Pull #76

github

fogfish
feat: add foreach output format configuration support (Issue #67)

Implements ADR-0007 Phase 4: Extended AST and parser to support
format configuration in foreach steps.

Changes:
- Added FormatNode to AST (already present in ast.go)
- Added formatYAML struct to parser with type and delimiter fields
- Updated foreachYAML to include optional format configuration
- Modified parser logic to parse format attribute with validation
- Added default values: type='json', delimiter='\n'
- Invalid format types silently default to 'json'

Tests:
- Added comprehensive test suite for format parsing
- Tests cover: json, jsonl, text formats
- Tests verify default values and invalid type handling
- All tests pass successfully

Example:
- Created examples/13_array_format demonstrating all format types
- Includes JSON, JSONL, and text with custom delimiters

The implementation maintains backward compatibility with existing
workflows that don't specify format (defaults to JSON array).

Closes #67
Pull Request #76: feat: add foreach output format configuration support (Issue #67)

24 of 26 new or added lines in 1 file covered. (92.31%)

1323 of 3630 relevant lines covered (36.45%)

0.39 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
66.46
internal/blueprint/parser/parser.go
Jobs
ID Job ID Ran Files Coverage
1 20680429755.1 03 Jan 2026 05:19PM UTC 40
36.45
GitHub Action Run
Source Files on build 20680429755
  • Tree
  • List 40
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #76
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