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

chore(ci): add should-run to tfhe-fft and tfhe-ntt tests #2091

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

soonum
Copy link
Contributor

@soonum soonum commented Feb 20, 2025

This is done to avoid testing tfhe-ftt/ntt crates if nothing changes in their source files.
However, these tests would be run unconditionally on each push on main branch.

@soonum soonum added the ci label Feb 20, 2025
@soonum soonum requested a review from IceTDrinker February 20, 2025 10:45
@soonum soonum self-assigned this Feb 20, 2025
@cla-bot cla-bot bot added the cla-signed label Feb 20, 2025
Comment on lines 116 to 122
- name: All tests success
if: needs.should-run.outputs.fft_test == 'true' &&
needs.cargo-tests-fft.result == 'success' &&
needs.cargo-tests-fft-nightly.result == 'success' &&
needs.cargo-tests-fft-node-js.result == 'success'
run: |
echo "All tfhe-fft test passed"
Copy link
Member

Choose a reason for hiding this comment

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

is this enough to fail the build if one of the tests fails ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The push I just made should fix this. Thanks for noticing.

This is done to avoid testing tfhe-ftt/ntt crates if nothing
changes in their source files.
However, these tests would be run unconditionally on each push on
main branch.
@soonum soonum force-pushed the dt/ci/add_should_runs branch from ffbfe76 to d918a2c Compare February 20, 2025 14:34
@soonum soonum requested a review from IceTDrinker February 20, 2025 14:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants