Skip to content

Pin Bats test dependencies#40

Merged
sciabarracom merged 1 commit into
apache:mainfrom
miki3421:agent/pin-bats-test-dependencies
Jul 11, 2026
Merged

Pin Bats test dependencies#40
sciabarracom merged 1 commit into
apache:mainfrom
miki3421:agent/pin-bats-test-dependencies

Conversation

@miki3421

Copy link
Copy Markdown
Contributor

What changed

  • Pin bats-core v1.13.0, bats-support v0.3.0, and bats-assert v2.2.4.
  • Validate the exact tag of all three dependencies.
  • Reinstall the test dependencies when any checkout is missing or drifted.

Why

The setup previously cloned moving default branches and considered the task complete when only the bats-core directory existed. This made test behavior depend on installation time and allowed partial setups.

Validation

  • First task bats installed the pinned releases.
  • Second task bats reported the task up to date.
  • bats datefmt.bats (4 tests passed).

@sciabarracom
sciabarracom marked this pull request as ready for review July 11, 2026 09:51
@sciabarracom
sciabarracom merged commit e739073 into apache:main Jul 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants