Skip CI tests for non-code changes by xerial · Pull Request #673 · xerial/snappy-java

@xerial @claude

- Add dorny/paths-filter to detect code changes
- Run actual tests only when code/build files change
- Add skip jobs to satisfy required status checks
- Reduces CI time for documentation-only changes

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

@github-actions bot added the doc label

Jul 19, 2025
- Ensures code format check runs when scalafmt config changes
- Important for maintaining consistent code formatting rules
- Includes sbt and sbt.bat in path filters
- Ensures tests run when build scripts are modified
- No longer needed for PR demonstration
- PR description already explains the changes
- Remove unnecessary skip jobs for JDK tests
- Keep only code_format_skip for required status check
- Remove code_format_skip job
- Simplify workflow to only run tests when code changes detected

@xerial xerial deleted the skip-ci-for-non-code-changes branch

July 19, 2025 16:05