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

go-pkgz / enum / 41225054697
100%

Build:
DEFAULT BRANCH: master
Ran 31 Oct 2026 05:34PM UTC
Jobs 1
Files 3
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

31 Oct 2026 05:32PM UTC coverage: 100.0%. Remained the same
41225054697

push

github

web-flow
Skip _test.go files when parsing enum constants (#26)

* Skip _test.go files when parsing enum constants

Parse grouped every package in the directory and kept the name of
whichever came last in map order. With a black-box test file
(package foo_test) next to the enum, the generated file got
"package foo_test" in most runs and broke the build. Constants from
test files also leaked into the enum, though the generated non-test
file can never reference them.

Test files are now ignored. Two fixtures fed to Parse were named
*_test.go and are renamed to plain .go files.

Related to https://github.com/go-pkgz/enum/discussions/11

* Add backlog items for package selection and test-file docs

A //go:build ignore file of another package in the enum directory still
makes Parse pick the package clause at random. README does not say that
_test.go files are skipped.

Related to https://github.com/go-pkgz/enum/discussions/11

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

785 of 785 relevant lines covered (100.0%)

383.61 hits per line

Jobs
ID Job ID Ran Files Coverage
1 41225054697.1 31 Oct 2026 05:34PM UTC 3
100.0
GitHub Action Run
Source Files on build 41225054697
  • Tree
  • List 3
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • ba909829 on github
  • Prev Build on master (#32227780767)
  • Next Build on master (#41331272588)
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