Skip to content

Commit

Permalink
WIP: simple change to test ifs refacto
Browse files Browse the repository at this point in the history
  • Loading branch information
soonum committed May 16, 2024
1 parent b6b130b commit 2a27679
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 21 deletions.
39 changes: 19 additions & 20 deletions .github/workflows/aws_tfhe_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ jobs:

cpu-tests:
name: CPU tests
if: ((always() && github.event_name != 'pull_request') ||
if: ((!cancelled() && github.event_name != 'pull_request') ||
(github.event_name == 'pull_request' && needs.setup-instance.result != 'skipped'))
needs: [ file-change, setup-instance ]
concurrency:
Expand All @@ -129,27 +129,26 @@ jobs:
with:
toolchain: stable

- name: Run concrete-csprng tests
if: needs.file-change.outputs.csprng_test == 'true' ||
needs.file-change.result == 'skipped'
run: |
make test_concrete_csprng
- name: Run tfhe-zk-pok tests
if: needs.file-change.outputs.zk_pok_test == 'true' ||
needs.file-change.result == 'skipped'
run: |
make test_zk_pok
- name: Run core tests
if: needs.file-change.outputs.core_crypto_test == 'true' ||
needs.file-change.result == 'skipped'
run: |
AVX512_SUPPORT=ON make test_core_crypto
# - name: Run concrete-csprng tests
# if: needs.file-change.outputs.csprng_test == 'true' ||
# needs.file-change.result == 'skipped'
# run: |
# make test_concrete_csprng
#
# - name: Run tfhe-zk-pok tests
# if: needs.file-change.outputs.zk_pok_test == 'true' ||
# needs.file-change.result == 'skipped'
# run: |
# make test_zk_pok
#
# - name: Run core tests
# if: needs.file-change.outputs.core_crypto_test == 'true' ||
# needs.file-change.result == 'skipped'
# run: |
# AVX512_SUPPORT=ON make test_core_crypto

- name: Run boolean tests
if: needs.file-change.outputs.boolean_test == 'true' ||
needs.file-change.result == 'skipped'
if: needs.file-change.outputs.boolean_test == 'true'
run: |
make test_boolean
Expand Down
2 changes: 1 addition & 1 deletion tfhe/src/boolean/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ pub(crate) fn random_integer() -> u32 {
// generate a random u32
rng.gen::<u32>()
}

// Simple change to test triggering
/// Generate a couple of client and server keys with the default cryptographic parameters:
/// `DEFAULT_PARAMETERS`.
/// The client is the one generating both keys.
Expand Down

0 comments on commit 2a27679

Please sign in to comment.