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

yylego / go-migrate / 28789281948
30%
main: 30%

Build:
Build:
LAST BUILD BRANCH: refs/tags/v0.0.3
DEFAULT BRANCH: main
Ran 06 Jul 2026 11:48AM UTC
Jobs 2
Files 15
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

06 Jul 2026 11:45AM UTC coverage: 30.046% (-0.7%) from 30.793%
28789281948

push

github

yyle88
Remove the migrationkinds package; match schema statements via a prefix check

The kinds enum classified each captured statement, but the slim path just needs to separate a migration statement from probing noise.
Replace the enum loop with a short prefix check and drop the whole package.
MigrationOp keeps just its statement; the kind field and its getters are gone.
With the package gone, go-migrate stops importing enum.
Also trim the doc comments and bump the CI checkout action.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

18 of 22 new or added lines in 3 files covered. (81.82%)

2 existing lines in 2 files now uncovered.

195 of 649 relevant lines covered (30.05%)

4.39 hits per line

Uncovered Changes

Lines Coverage ∆ File
3
77.66
0.0% checkmigration/check_migration.go
1
0.0
0.0% internal/tests/tests.go

Coverage Regressions

Lines Coverage ∆ File
1
62.16
0.0% migrationstate/migration_state.go
1
7.89
0.0% newmigrate/new_migrate.go
Jobs
ID Job ID Ran Files Coverage
1 Go-stable - 28789281948.1 06 Jul 2026 11:49AM UTC 15
30.05
GitHub Action Run
2 Go-1.25.x - 28789281948.2 06 Jul 2026 11:48AM UTC 15
30.05
GitHub Action Run
Source Files on build 28789281948
  • Tree
  • List 15
  • Changed 6
  • Source Changed 0
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 1c875eb5 on github
  • Prev Build on main (#24931007103)
  • 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