From daabed95a0c19d1507848bc71bcd263d8388d4d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Test=C3=A9?= Date: Fri, 29 Nov 2024 10:32:50 +0100 Subject: [PATCH] chore(ci): run fft/ntt bench on push only if certain files changed --- .github/workflows/benchmark_tfhe_fft.yml | 3 +++ .github/workflows/benchmark_tfhe_ntt.yml | 3 +++ 2 files changed, 6 insertions(+) diff --git a/.github/workflows/benchmark_tfhe_fft.yml b/.github/workflows/benchmark_tfhe_fft.yml index f12cb95e5..8b7971297 100644 --- a/.github/workflows/benchmark_tfhe_fft.yml +++ b/.github/workflows/benchmark_tfhe_fft.yml @@ -16,6 +16,9 @@ on: push: branches: - "main" + paths: + - tfhe-fft/** + - .github/workflows/benchmark_tfhe_fft.yml schedule: # Job will be triggered each Thursday at 11p.m. - cron: '0 23 * * 4' diff --git a/.github/workflows/benchmark_tfhe_ntt.yml b/.github/workflows/benchmark_tfhe_ntt.yml index 845264838..a6062cc0b 100644 --- a/.github/workflows/benchmark_tfhe_ntt.yml +++ b/.github/workflows/benchmark_tfhe_ntt.yml @@ -16,6 +16,9 @@ on: push: branches: - "main" + paths: + - tfhe-ntt/** + - .github/workflows/benchmark_tfhe_ntt.yml schedule: # Job will be triggered each Friday at 11p.m. - cron: "0 23 * * 5"