From bf00bf7fee6535c5cc8ed4fe6cb58950ef0c5383 Mon Sep 17 00:00:00 2001 From: Rafael Roquetto Date: Tue, 27 Aug 2024 14:16:32 -0600 Subject: [PATCH] Only trigger VM tests when bpf files changed --- .../workflows/pull_request_integration_tests_vm_5.15_x86_64.yml | 2 ++ .../workflows/pull_request_integration_tests_vm_6.10_x86_64.yml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/.github/workflows/pull_request_integration_tests_vm_5.15_x86_64.yml b/.github/workflows/pull_request_integration_tests_vm_5.15_x86_64.yml index 2a4846779..3d74e8ba1 100644 --- a/.github/workflows/pull_request_integration_tests_vm_5.15_x86_64.yml +++ b/.github/workflows/pull_request_integration_tests_vm_5.15_x86_64.yml @@ -3,8 +3,10 @@ name: Pull request integration tests on VM 5.15 x86_64 on: push: branches: [ 'main', 'release-*' ] + paths: [ 'bpf/**' ] pull_request: branches: [ 'main', 'release-*' ] + paths: [ 'bpf/**' ] jobs: test: diff --git a/.github/workflows/pull_request_integration_tests_vm_6.10_x86_64.yml b/.github/workflows/pull_request_integration_tests_vm_6.10_x86_64.yml index 1016d0a16..f7a6e98dc 100644 --- a/.github/workflows/pull_request_integration_tests_vm_6.10_x86_64.yml +++ b/.github/workflows/pull_request_integration_tests_vm_6.10_x86_64.yml @@ -3,8 +3,10 @@ name: Pull request integration tests on VM 6.10 x86_64 on: push: branches: [ 'main', 'release-*' ] + paths: [ 'bpf/**' ] pull_request: branches: [ 'main', 'release-*' ] + paths: [ 'bpf/**' ] jobs: test: