-
Notifications
You must be signed in to change notification settings - Fork 28
ci: adding testspec for test filtering #516
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
|
You can find the documentation preview for this PR here. |
.github/test-spec.yml
Outdated
| - "sysbuild/**/*" | ||
| - "tests/subsys/kmu/**/*" | ||
| - "west.yml" | ||
| - any: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
any block should be removed. If I remember correctly how things work, that will cause CI-dfu-test and CI-bm-samples run on every change not matching patterns in any block
.github/test-spec.yml
Outdated
| - "Jenkinsfile" | ||
| - "Kconfig.nrf_bm" | ||
| - "west.yml" | ||
| - any: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
any block should be removed. If I remember correctly how things work, that will cause CI-dfu-test and CI-bm-samples run on every change not matching patterns in any block
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
doesnt that mean I have to remove everything other than any block ?
.github/test-spec.yml
Outdated
| - "include/**/*" | ||
| - "lib/**/*" | ||
| - "modules/**/*" | ||
| - "samples/**/*" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| - "samples/**/*" | |
| - "samples/boot/**/*" |
.github/test-spec.yml
Outdated
| - "sysbuild/**/*" | ||
| - "tests/subsys/kmu/**/*" | ||
| - "west.yml" | ||
| - any: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As far as I understand this any block is not needed since preceding matches will exclude below entries.
|
|
||
| "CI-bm-samples": | ||
| - "applications/**/*" | ||
| - "components/softdevice/**/*" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should not be needed to update this if we add more to components.
| - "components/softdevice/**/*" | |
| - "components/**/*" |
Signed-off-by: Nirmal Krishna <[email protected]>
No description provided.