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

christophevg / schema-tools / 35977142946
73%

Build:
DEFAULT BRANCH: master
Ran 24 Sep 2026 08:46AM UTC
Jobs 1
Files 20
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

24 Sep 2026 08:45AM UTC coverage: 70.448% (+0.02%) from 70.429%
35977142946

push

github

christophevg-agent
fix: windows compatibility for tests and file:// handling

The new CI matrix exposed real, pre-existing Windows bugs (old CI was
ubuntu-only). Three root causes, all fixed:

1. Invalid JSON escape sequences: test fixtures embedded raw OS paths
   into JSON sources ("$ref": "file:D:\a\..."); "\a" is not a valid
   escape. The asset fixture now returns an AssetPath (str) whose .uri
   is a proper file:/// URI (path.as_uri(), fragment kept as #delimiter,
   not percent-encoded); embedded $ref sites use .uri.

2. file:// URL handling: Reference._fetch built file URLs via
   urlparse._replace, which mangles Windows drive letters (file:D:\...).
   Now converts the parsed path back via url2pathname and re-encodes
   with Path.as_uri(), producing file:///D:/... on Windows. Relative
   refs resolve against the CWD as before (unchanged semantics).

3. UnicodeDecodeError in xml.load/namespaces: Path.read_text()/open()
   without encoding uses the platform locale (cp1252 on Windows),
   failing on UTF-8 content (U+2019 in invoice.xml). Both now pass
   encoding="utf-8" (same for yaml.load).

Local make check green; pushing to re-verify the full CI matrix.

🤖 Implemented together with Yoker.

265 of 380 branches covered (69.74%)

Branch coverage included in aggregate %.

4 of 6 new or added lines in 3 files covered. (66.67%)

884 of 1251 relevant lines covered (70.66%)

0.71 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
57.14
0.0% src/schema_tools/xml.py
1
93.33
0.0% src/schema_tools/yaml.py
Jobs
ID Job ID Ran Files Coverage
1 35977142946.1 24 Sep 2026 08:46AM UTC 20
70.45
GitHub Action Run
Source Files on build 35977142946
  • Tree
  • List 20
  • 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 #35977142946
  • 27e6c7be on github
  • Prev Build on master (#35975422266)
  • Next Build on master (#35977676268)
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