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

phcurado / zoi / 935fb7cd8792bb8850ac08bb449aae3847267d72-PR-224
99%
main: 99%

Build:
Build:
LAST BUILD BRANCH: feat/stored-value-validation
DEFAULT BRANCH: main
Ran 04 Oct 2026 12:21PM UTC
Jobs 1
Files 84
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 Oct 2026 12:19PM UTC coverage: 99.466% (+0.002%) from 99.464%
935fb7cd8792bb8850ac08bb449aae3847267d72-PR-224

Pull #224

github

leonqadirie
fix: support fractional multipleOf on decoded integer schemas

JSON Schema allows a fractional multipleOf on integer schemas, such as
{"type": "integer", "multipleOf": 0.5}. Zoi.from_json_schema/1 passed the
value through to the integer type, whose rem/2 check raised ArithmeticError on
float divisors. Float divisors now use the same quotient check as Zoi.Types.Number.
Pull Request #224: fix: accept whole-number floats in JSON Schema integer schemas

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

2 existing lines in 1 file now uncovered.

2047 of 2058 relevant lines covered (99.47%)

343.79 hits per line

Coverage Regressions

Lines Coverage ∆ File
2
95.92
0.36% lib/zoi/types/integer.ex
Jobs
ID Job ID Ran Files Coverage
1 935fb7cd8792bb8850ac08bb449aae3847267d72-PR-224.1 04 Oct 2026 12:21PM UTC 84
99.47
GitHub Action Run
Source Files on build 935fb7cd8792bb8850ac08bb449aae3847267d72-PR-224
  • Tree
  • List 84
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #224
  • PR Base - main (#E1220318...)
  • 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