From 20978127b2f8e84019b1123993a7fff7ebd6a085 Mon Sep 17 00:00:00 2001 From: Rinish Sam <36656347+CaptainIRS@users.noreply.github.com> Date: Mon, 17 Oct 2022 16:18:37 +0530 Subject: [PATCH] Fix integration test CI trigger (#1458) * Run integration tests when package-lock.json or the workflow file are modified Signed-off-by: CaptainIRS <36656347+CaptainIRS@users.noreply.github.com> Signed-off-by: CaptainIRS <36656347+CaptainIRS@users.noreply.github.com> --- .github/workflows/integration-tests.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/integration-tests.yml b/.github/workflows/integration-tests.yml index c7beade2f..d43e605f9 100644 --- a/.github/workflows/integration-tests.yml +++ b/.github/workflows/integration-tests.yml @@ -23,24 +23,32 @@ jobs: - 'packages/caliper-fabric/**' - 'packages/caliper-publish/**' - 'packages/caliper-tests-integration/fabric_tests/**' + - '.github/workflows/integration-tests.yml' + - 'package-lock.json' ethereum: - 'packages/caliper-cli/**' - 'packages/caliper-core/**' - 'packages/caliper-ethereum/**' - 'packages/caliper-publish/**' - 'packages/caliper-tests-integration/ethereum_tests/**' + - '.github/workflows/integration-tests.yml' + - 'package-lock.json' besu: - 'packages/caliper-cli/**' - 'packages/caliper-core/**' - 'packages/caliper-ethereum/**' - 'packages/caliper-publish/**' - 'packages/caliper-tests-integration/besu_tests/**' + - '.github/workflows/integration-tests.yml' + - 'package-lock.json' fisco-bcos: - 'packages/caliper-cli/**' - 'packages/caliper-core/**' - 'packages/caliper-fisco-bcos/**' - 'packages/caliper-publish/**' - 'packages/caliper-tests-integration/fisco-bcos_tests/**' + - '.github/workflows/integration-tests.yml' + - 'package-lock.json' generator: - 'packages/caliper-cli/**' - 'packages/caliper-core/**' @@ -48,6 +56,8 @@ jobs: - 'packages/generator-caliper/**' - 'packages/caliper-publish/**' - 'packages/caliper-tests-integration/generator_tests/**' + - '.github/workflows/integration-tests.yml' + - 'package-lock.json' integration-tests: needs: changes