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

unicode-org / icu4x / 14356886037
73%

Build:
DEFAULT BRANCH: main
Ran 09 Apr 2025 12:27PM UTC
Jobs 1
Files 971
Run time 2min
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

09 Apr 2025 12:16PM UTC coverage: 73.058% (+0.02%) from 73.034%
14356886037

push

github

web-flow
Parse system locales in `env_preferences` (#6158)

As per the discussion in #6028, I have created a POSIX locale
parser/converter, currently hidden in the private
`env_preferences::parse` module. This is meant to change at some point
while the PR is being drafted, especially once I add support for other
platforms. Once more platforms are supported, I would also like to
implement universal and platform-specific APIs, as per [this
comment](https://github.com/unicode-org/icu4x/discussions/6028#discussioncomment-12037139)
by @zbraniecki.

My current thinking on code structure is to have some distinction
between platform `fetch` and `parse` code (either using modules or
files), but please let me know if all platform logic should just be kept
in the same file.

Of course, feedback on the code itself would be very much appreciated!

---------

Co-authored-by: Robert Bastian <robertbastian@unicode.org>

171 of 223 new or added lines in 7 files covered. (76.68%)

3 existing lines in 3 files now uncovered.

57993 of 79379 relevant lines covered (73.06%)

811462.64 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
89.47
utils/env_preferences/src/parse/windows.rs
7
0.0
utils/env_preferences/src/parse/apple.rs
8
91.84
utils/env_preferences/src/parse/posix.rs
9
41.18
utils/env_preferences/src/posix.rs
10
0.0
utils/env_preferences/src/lib.rs
16
19.35
19.35% utils/env_preferences/src/error.rs

Uncovered Existing Lines

Lines Coverage ∆ File
1
88.29
-0.45% components/locale/src/expander.rs
1
78.41
-0.44% components/time/src/ixdtf.rs
1
84.25
-0.68% provider/source/src/cldr_cache.rs
Jobs
ID Job ID Ran Files Coverage
1 14356886037.1 09 Apr 2025 12:27PM UTC 971
73.06
GitHub Action Run
Source Files on build 14356886037
  • Tree
  • List 971
  • Changed 9
  • Source Changed 1
  • Coverage Changed 9
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #14356886037
  • 9777c6cf on github
  • Prev Build on main (#14341251981)
  • Next Build on main (#14362646697)
  • 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