From 40aa58a89e70b8f112f330d3e1fbf8bc29dcd6c6 Mon Sep 17 00:00:00 2001 From: kent-3 <100624004+kent-3@users.noreply.github.com> Date: Sat, 31 Aug 2024 08:50:23 -0400 Subject: [PATCH] run tests on PRs --- .github/workflows/Foundry_tests.yml | 7 ++++++- .github/workflows/Relayer_tests.yml | 7 ++++++- .github/workflows/Secret_gateway_tests.yml | 7 +++++++ 3 files changed, 19 insertions(+), 2 deletions(-) diff --git a/.github/workflows/Foundry_tests.yml b/.github/workflows/Foundry_tests.yml index 885a65d..10d66ad 100644 --- a/.github/workflows/Foundry_tests.yml +++ b/.github/workflows/Foundry_tests.yml @@ -5,7 +5,12 @@ on: push: branches: - main - - test-fixes + paths: + - "TNLS-Gateways/public-gateway/**" + - ".github/workflows/Foundry_tests.yml" + pull_request: + branches: + - main paths: - "TNLS-Gateways/public-gateway/**" - ".github/workflows/Foundry_tests.yml" diff --git a/.github/workflows/Relayer_tests.yml b/.github/workflows/Relayer_tests.yml index acd457a..c64ba01 100644 --- a/.github/workflows/Relayer_tests.yml +++ b/.github/workflows/Relayer_tests.yml @@ -5,7 +5,12 @@ on: push: branches: - main - - test-fixes + paths: + - "TNLS-Relayers/**" + - ".github/workflows/Relayer_tests.yml" + pull_request: + branches: + - main paths: - "TNLS-Relayers/**" - ".github/workflows/Relayer_tests.yml" diff --git a/.github/workflows/Secret_gateway_tests.yml b/.github/workflows/Secret_gateway_tests.yml index dffcfb7..cd40c9f 100644 --- a/.github/workflows/Secret_gateway_tests.yml +++ b/.github/workflows/Secret_gateway_tests.yml @@ -4,10 +4,17 @@ on: workflow_dispatch: push: branches: + - main - test-fixes paths: - "TNLS-Gateways/secret/**" - ".github/workflows/Secret_gateway_tests.yml" + pull_request: + branches: + - main + paths: + - "TNLS-Gateways/secret/**" + - ".github/workflows/Secret_gateway_tests.yml" defaults: run: