Skip to content

ci: skip tests on non-code changes#30

Merged
PNRxA merged 1 commit intoPNRxA:mainfrom
YagUber:ci/test-on-real-changes
Mar 28, 2026
Merged

ci: skip tests on non-code changes#30
PNRxA merged 1 commit intoPNRxA:mainfrom
YagUber:ci/test-on-real-changes

Conversation

@YagUber
Copy link
Copy Markdown
Contributor

@YagUber YagUber commented Mar 28, 2026

The test workflow currently runs on every push and pull request to main regardless of what changed. This means changes to workflow files, documentation, or anything else unrelated to the actual codebase trigger all three test jobs unnecessarily, including the E2E job which takes even longer than just the backend alone.

This adds path filters so tests only run when files in api/** or web/** change. Adding .github/workflows/test.yml to the filter ensures that if the workflow file itself is modified, it runs against the new version of itself to verify the change.

@PNRxA PNRxA merged commit 792c17c into PNRxA:main Mar 28, 2026
3 checks passed
@YagUber YagUber deleted the ci/test-on-real-changes branch March 28, 2026 20:50
@PNRxA PNRxA added the enhancement New feature or request label Mar 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants