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

payjoin / rust-payjoin / 13203244614
83%

Build:
DEFAULT BRANCH: master
Ran 07 Feb 2025 03:50PM UTC
Jobs 1
Files 36
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

07 Feb 2025 03:48PM UTC coverage: 79.009% (-0.07%) from 79.08%
13203244614

push

github

web-flow
Fix payjoin-cli v1 coverage (#532)

Fix #499 

This required a few changes:

- Add an explicit `llvm-cov` command for running the payjoin-cli v1 e2e
test, as it is not currently covered by `--all-features`.
- Add graceful SIGINT handling to payjoin-cli v1.
- Modify the `sigint` test function to wait until the child process
completely exits, so that the interrupt handlers can actually print to
stdout without panicking (`failed printing to stdout: Broken pipe (os
error 32)`). This issue also affected the payjoin-cli v2 test, so this
fix reduces the noise there as well (see
https://github.com/payjoin/rust-payjoin/issues/499#issuecomment-2613238131).
- Remove unnecessary `tokio::spawn`s in tests which moved `cli.stdout`
out of the main loop, also causing panics like the former in interrupt
handlers.
- The last commit only refactors and extracts shared e2e testing code.

14 of 15 new or added lines in 2 files covered. (93.33%)

6 existing lines in 3 files now uncovered.

4020 of 5088 relevant lines covered (79.01%)

904.07 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
98.89
-1.11% payjoin-cli/src/app/mod.rs

Uncovered Existing Lines

Lines Coverage ∆ File
1
95.56
-0.6% payjoin-cli/src/app/config.rs
2
93.91
-0.58% payjoin/src/send/mod.rs
3
0.0
0.0% payjoin-cli/src/db/error.rs
Jobs
ID Job ID Ran Files Coverage
1 13203244614.1 07 Feb 2025 03:50PM UTC 36
79.01
GitHub Action Run
Source Files on build 13203244614
  • Tree
  • List 36
  • Changed 16
  • Source Changed 2
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #13203244614
  • e56520a7 on github
  • Prev Build on master (#13170265281)
  • Next Build on master (#13251464274)
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