Skip to content

chore: check snapshots in CI#25

Open
igorroncevic wants to merge 1 commit into
mainfrom
feat/ci-snapshot-check
Open

chore: check snapshots in CI#25
igorroncevic wants to merge 1 commit into
mainfrom
feat/ci-snapshot-check

Conversation

@igorroncevic
Copy link
Copy Markdown
Contributor

@igorroncevic igorroncevic commented May 15, 2026

Summary

  • Move gas snapshot checking out of the local just test default and into CI.
  • Keep local tests fast and focused, while CI still enforces snapshot drift.
  • Exclude lib from Forge coverage reports for both summary and lcov output.

Reasoning

Gas snapshot checks are useful as a shared gate, but they are not needed for every local test run. Keeping the check in CI avoids local friction while still making sure snapshot changes are caught before merge.

Coverage should only track this repository's contracts. Excluding lib keeps vendored dependencies out of coverage numbers and lcov reports.

Test Plan

  • just test
  • just test --gas-snapshot-check true
  • just coverage-check
  • just --dry-run coverage-lcov

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.

1 participant