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

nbari / pg_exporter / 18629354458
90%
main: 90%

Build:
Build:
LAST BUILD BRANCH: develop
DEFAULT BRANCH: main
Ran 19 Oct 2025 10:55AM UTC
Jobs 1
Files 51
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

19 Oct 2025 10:50AM UTC coverage: 87.082% (+1.5%) from 85.54%
18629354458

push

github

nbari
fix: use prebuilt binary in CLI integration tests

The CLI integration tests were failing in GitHub Actions because each
test invocation was using 'cargo run' which triggered recompilation.
This caused timing issues and potentially environment variable problems.

The fix builds the binary once at test initialization using OnceLock,
then all tests use the prebuilt binary directly. This approach:
- Eliminates repeated compilation during test execution
- Ensures consistent binary state across tests
- Significantly improves test performance (10x faster)
- Avoids any cargo-related environment variable issues

Tests now run the binary directly via Command, passing arguments and
environment variables as needed.

19 of 20 new or added lines in 1 file covered. (95.0%)

9 existing lines in 2 files now uncovered.

3957 of 4544 relevant lines covered (87.08%)

32.83 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
92.97
tests/cli_integration.rs

Coverage Regressions

Lines Coverage ∆ File
7
70.83
-22.92% src/exporter/shutdown.rs
2
99.28
-0.72% src/cli/commands/mod.rs
Jobs
ID Job ID Ran Files Coverage
1 18629354458.1 19 Oct 2025 10:55AM UTC 51
87.08
GitHub Action Run
Source Files on build 18629354458
  • Tree
  • List 51
  • Changed 8
  • Source Changed 5
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #18629354458
  • 6be254f7 on github
  • Prev Build on develop (#18626965037)
  • Next Build on develop (#18629369203)
  • 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