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

Mu-L / yamllint / 14017803694

23 Mar 2025 09:41AM UTC coverage: 99.815% (-0.01%) from 99.825%
14017803694

push

github

adrienverge
CI: Fix TestPyPI "dev0" versions for master commits on tags

This fixes a problem in the custom versions `v1.37.0.devN` built for
publishing on TestPyPI since commit 325fafa "Publish each master commit
with a unique version on TestPyPI".

Such versions are constructed by suffixing `.devN`, where `N` is the
number of commits since last tags. In the `N = 0` case, we need to add
`--long` to `git describe --tags`. Otherwise it yields `v1.37.0` instead
of `v1.37.0-0-gbe92e15`, and the CI fails, e.g. on
https://github.com/adrienverge/yamllint/actions/runs/14017589005/job/39245225221

    packaging.version.InvalidVersion: Invalid version: '1.37.0.devv1.37.0'

4305 of 4313 relevant lines covered (99.81%)

4.99 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

99.76
/tests/test_cli.py


Source Not Available

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