Skip to content
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

tests: udpate the github workflow to run tests suggested by spread-filter tool #14519

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

sergiocazzolato
Copy link
Collaborator

@sergiocazzolato sergiocazzolato commented Sep 18, 2024

Through this change we will run the tests suggested by the spread-filter tool following the rules located in tests/lib/spread/rules which defined for each system.

For nested tests, this ruleset will make sure that: . Always that the nested.sh lib or the assertions dir are updated, all the nested test are executed
. When an specific nested test is added/updated, then this is executed
. If the "Run Nested" label is added to the PR, all the nested tests will be executed as well.
. In master branch, all nested test are executed
. In other scenarios, nested tests are not executed.

Also, in master branch, all the tests are executed (the tests defined in the matrix for each system).

…lter tool

Through this change we will run the tests suggested by the spread-filter
tool following the rules located in tests/lib/spread/rules which defined
for each system.

For nested tests, this ruleset will make sure that:
. Always that the nested.sh lib or the assertions dir are updated, all
the nested test are executed
 . When an specific nested test is updated, then this is executed
. If the "Run Nested" label is added to the PR, all the nested tests
will be executed as well.
 . In master branch, all nested test are executed
 . In other scenarios, nested tests are not executed.

Also, in master branch, all the tests are executed (the tests defined in
the matrix for each system).
@pedronis
Copy link
Collaborator

When an specific nested test is updated, then this is executed

does that also include added?

Copy link
Contributor

@zyga zyga left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One question about shell syntax.

.github/workflows/test.yaml Outdated Show resolved Hide resolved
Co-authored-by: Zygmunt Bazyli Krynicki <[email protected]>
@sergiocazzolato
Copy link
Collaborator Author

@pedronis, yes, any change "add/update" is considered

Already updated the description.

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.

3 participants