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

binbashar / leverage / 35268196728
66%
master: 65%

Build:
Build:
LAST BUILD BRANCH: kungfoo/path-fix
DEFAULT BRANCH: master
Ran 17 Sep 2026 08:00PM UTC
Jobs 1
Files 44
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

17 Sep 2026 08:00PM UTC coverage: 66.077% (+0.7%) from 65.343%
35268196728

Pull #327

github

juanmatias
Fix | Skip backing up an AWS config file that doesn't exist yet

`leverage credentials configure --type BOOTSTRAP` crashed with a raw
FileNotFoundError on ~/.aws/<project>/config the first time a
profile's assumable-role setup ran, because
`configure_accounts_profiles` unconditionally did
`shutil.copy(paths.aws_config_file, ...)` with no existence check.

`aws configure set` for access keys only ever writes the credentials
file, never the config file - the config file only gets created once
an account/role profile is configured for the first time, which is
exactly what this function does. Its sibling backup in
`configure_credentials` already guards this correctly with
`if make_backup: ...`; this one didn't.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Pull Request #327: Fix | Credentials configure fails when run after project init

532 of 1040 branches covered (51.15%)

Branch coverage included in aggregate %.

28 of 29 new or added lines in 3 files covered. (96.55%)

79 existing lines in 3 files now uncovered.

2830 of 4048 relevant lines covered (69.91%)

0.7 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
84.62
-4.27% leverage/leverage.py

Coverage Regressions

Lines Coverage ∆ File
77
62.74
3.65% modules/credentials.py
1
62.74
3.65% leverage/modules/credentials.py
1
84.62
-4.27% leverage.py
Jobs
ID Job ID Ran Files Coverage
1 35268196728.1 17 Sep 2026 08:00PM UTC 44
66.08
GitHub Action Run
Source Files on build 35268196728
  • Tree
  • List 44
  • Changed 6
  • Source Changed 3
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #35268196728
  • Pull Request #327
  • PR Base - master (#35021487384)
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