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

accordproject / concerto-codegen / 27027887109
98%

Build:
DEFAULT BRANCH: main
Ran 05 Jun 2026 04:47PM UTC
Jobs 3
Files 30
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

05 Jun 2026 04:46PM UTC coverage: 98.28% (+0.04%) from 98.237%
27027887109

push

github

web-flow
fix(codegen): update Level enum to include NONE value and adjust JSON… (#243)

* fix(codegen): update Level enum to include NONE value and adjust JSON schema generation

- Added 'NONE' value to the Level enum in the model definition.
- Removed $id assignment for inlined map schemas to prevent conflicts in JSON schema generation.
- Updated related test snapshots to reflect changes in the Level enum.

Signed-off-by:  Apoorv <130035517+APOORV7G@users.noreply.github.com>
Signed-off-by: Apoorv <130035517+APOORV7G@users.noreply.github.com>

* test(codegen): add tests for non-empty and empty enum handling in JSON schema generation

- Introduced tests to verify the correct handling of non-empty enums, ensuring they emit valid values and compile with Ajv.
- Added a test to confirm that schemas with empty enums fail Ajv compilation as expected.
- Updated the JSON schema visitor to accommodate these new test cases.

Signed-off-by: Apoorv <130035517+APOORV7G@users.noreply.github.com>

* fix(codegen): handle empty enums in JSON schema generation

- Updated the JSONSchemaVisitor to correctly handle empty enums by using the 'not' keyword instead of an empty 'enum' array.
- rewrote tests to verify that schemas with empty enums compile successfully with Ajv.

Signed-off-by: Apoorv <130035517+APOORV7G@users.noreply.github.com>

---------

Signed-off-by: Apoorv <130035517+APOORV7G@users.noreply.github.com>

1628 of 1694 branches covered (96.1%)

Branch coverage included in aggregate %.

5 of 5 new or added lines in 1 file covered. (100.0%)

3115 of 3132 relevant lines covered (99.46%)

9702.72 hits per line

Jobs
ID Job ID Ran Files Coverage
1 macOS-latest - 27027887109.1 05 Jun 2026 04:47PM UTC 30
98.28
GitHub Action Run
2 windows-latest - 27027887109.2 05 Jun 2026 04:48PM UTC 30
98.28
GitHub Action Run
3 ubuntu-latest - 27027887109.3 05 Jun 2026 04:47PM UTC 30
98.28
GitHub Action Run
Source Files on build 27027887109
  • Tree
  • List 30
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • 76659a99 on github
  • Prev Build on main (#26749497603)
  • 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