-
Notifications
You must be signed in to change notification settings - Fork 1
Extend tests to other branches #24
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
No idea why |
- name: Run benchmark | ||
shell: bash -l {0} | ||
run: | | ||
env | ||
output=$( ob run benchmark -b Clustering.yaml --local --threads 10 2>&1 ) | ||
status=$? | ||
if echo "$output" | grep -i 'Benchmark run has finished successfully'; then | ||
status=0 | ||
fi | ||
echo -e $output | ||
sh -c "exit $status" | ||
if: matrix.ob_branch == 'main' |
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.
Same reasoning here.
- name: Run benchmark | ||
shell: bash -l {0} | ||
run: | | ||
env | ||
output=$( ob run benchmark -b Clustering.yaml --local --threads 10 2>&1 ) | ||
status=$? | ||
if echo "$output" | grep -i 'Benchmark run has finished successfully'; then | ||
status=0 | ||
fi | ||
echo -e $output | ||
sh -c "exit $status" | ||
if: matrix.ob_branch == 'main' |
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.
For now, we would need to make sure to use a benchmark yaml without metric collectors for the main branch.
Or comment the main branch from the matrix.
Keeping it as it is, will just pollute the fail tests with false positive.
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.
I understand, but to me these are true positives, clustbench doesn't work on ob main. I'm looking forward to see all tests green, once ob main gets updated to be clustbench compatible. Different perspective I think.
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.
@imallona right, fair enough. We want to provide the nightly tests for all the expected features.
Please squash on merge.
This nightly runs
clustbench
on conda using a variety of conda providers and on three differentob
branches:main
,dev
and a custom one.The fact
main
fails to install is a feature of the action, not a bug. (It's trying to run clustbench with metric collectors on a version without metric collectors.)