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

test: Run slow tests in regression runs (again^2) #2623

Merged
merged 2 commits into from
Feb 20, 2024
Merged

test: Run slow tests in regression runs (again^2) #2623

merged 2 commits into from
Feb 20, 2024

Conversation

chakaz
Copy link
Collaborator

@chakaz chakaz commented Feb 20, 2024

No description provided.

filter: ${{ matrix.build-type == 'Release' && '' || 'not opt_only' }}
# Do not filter anything in Release, but do not run opt_only in Debug. Unfortunately an
# empty string creates a 'false' expression, so we use a non existing mark
filter: ${{ matrix.build-type == 'Release' && 'not NON_EXISTING_MARK' || 'not opt_only' }}
Copy link
Collaborator

Choose a reason for hiding this comment

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

does 'not NON_EXISTING_MARK' or not opt_only still refer to build-type selector?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

no, it's the value of filter. I.e. based on build-type we decide whether the value is not NON_EXISTING_MARK or not opt_only
Feel free to propose a better comment :)

Copy link
Collaborator

Choose a reason for hiding this comment

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

I suggest to add a line before that this expression serves as a ternary operator, i.e. if the condition holds it returns 'not NON_EXISTING_MARK' otherwise not opt_only

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Done

@chakaz
Copy link
Collaborator Author

chakaz commented Feb 20, 2024

I verified that indeed release runs opt_only but debug does not: https://github.com/dragonflydb/dragonfly/actions/runs/7971314045

@chakaz chakaz merged commit ebe83c8 into main Feb 20, 2024
10 checks passed
@chakaz chakaz deleted the reg-slow branch February 20, 2024 11:57
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.

None yet

3 participants