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

gookit / goutil / 44267455512
88%
master: 88%

Build:
Build:
LAST BUILD BRANCH: fix-dotenv-load-first-exist
DEFAULT BRANCH: master
Ran 18 Nov 2026 08:30AM UTC
Jobs 6
Files 235
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

18 Nov 2026 08:29AM UTC coverage: 87.903%. First build
44267455512

Pull #325

github

bardrop
fix(envutil): LoadFirstExist ignores files from earlier loads

Dotenv.doLoadFiles stopped at the first file only by checking
len(c.loadFiles) > 0, but loadFiles keeps files from earlier
LoadAndInit/LoadFiles calls. So on a second call with LoadFirstExist,
a missing first file (IgnoreNotExist) ended the loop and the next files
were never loaded. Now it compares with the count at the start of the
call.

Also join BaseDir with the trimmed file name: " .env" was trimmed only
when BaseDir was empty, with BaseDir it opened "<dir>/ .env".
Pull Request #325: fix(envutil): LoadFirstExist ignores files from earlier loads

6 of 6 new or added lines in 1 file covered. (100.0%)

16727 of 19029 relevant lines covered (87.9%)

5.61 hits per line

Jobs
ID Job ID Ran Files Coverage
1 Go-1.21 - 44267455512.1 18 Nov 2026 08:30AM UTC 226
87.17
GitHub Action Run
2 Go-stable - 44267455512.2 18 Nov 2026 08:30AM UTC 231
84.6
GitHub Action Run
3 Go-1.19 - 44267455512.3 18 Nov 2026 08:30AM UTC 226
87.21
GitHub Action Run
4 Go-1.25 - 44267455512.4 18 Nov 2026 08:30AM UTC 231
85.38
GitHub Action Run
5 Go-1.24 - 44267455512.5 18 Nov 2026 08:30AM UTC 231
85.38
GitHub Action Run
6 Go-1.23 - 44267455512.6 18 Nov 2026 08:30AM UTC 231
86.13
GitHub Action Run
Source Files on build 44267455512
  • Tree
  • List 235
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #325
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