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

dcdpr / jp / 26126259533
66%

Build:
DEFAULT BRANCH: main
Ran 19 May 2026 09:28PM UTC
Jobs 1
Files 370
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

19 May 2026 09:25PM UTC coverage: 65.28% (+0.005%) from 65.275%
26126259533

push

github

web-flow
enhance(workspace): Add `XDG_DATA_HOME` and `JP_USER_DATA_DIR` support (#660)

`user_data_dir()` previously resolved only via the platform default
(`directories::ProjectDirs::data_local_dir`). On macOS this lands under
`~/Library/Application Support`, which is invisible to users running JP
alongside other XDG-aware tools.

Resolution order is now:

1. `JP_USER_DATA_DIR` if set — used verbatim, no suffix appended.
Primarily useful for testing and CI, but also lets power users pin the
data directory to an explicit path.
2. `$XDG_DATA_HOME/jp` if `XDG_DATA_HOME` is set to an absolute path.
Honored on all platforms. Empty or relative values are treated as unset,
in line with the XDG Base Directory Specification.
3. The platform default as before.

The CLI integration tests now set `JP_USER_DATA_DIR` to a temp directory
so they no longer touch the real user data directory.

---------

Signed-off-by: Jean Mertz <git@jeanmertz.com>

9 of 10 new or added lines in 1 file covered. (90.0%)

30166 of 46210 relevant lines covered (65.28%)

300.1 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
91.67
-0.04% crates/jp_workspace/src/lib.rs
Jobs
ID Job ID Ran Files Coverage
1 26126259533.1 19 May 2026 09:28PM UTC 370
65.28
GitHub Action Run
Source Files on build 26126259533
  • Tree
  • List 370
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #26126259533
  • ac42c049 on github
  • Prev Build on main (#26123672045)
  • Next Build on main (#26170657135)
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