From 62aeada5864eb8ee0829b55e91151a6168a8ad32 Mon Sep 17 00:00:00 2001 From: Sundar Date: Wed, 31 Mar 2021 17:23:12 +0530 Subject: [PATCH] Added trigger for L2 tests. (#26) --- .github/workflows/TriggerIntegrationTests.sh | 33 +++++++++++++++++++ .github/workflows/integration-tests.yml | 19 +++++++++++ .../workflows/{test.yml => unit-tests.yml} | 7 ++-- 3 files changed, 56 insertions(+), 3 deletions(-) create mode 100644 .github/workflows/TriggerIntegrationTests.sh create mode 100644 .github/workflows/integration-tests.yml rename .github/workflows/{test.yml => unit-tests.yml} (78%) diff --git a/.github/workflows/TriggerIntegrationTests.sh b/.github/workflows/TriggerIntegrationTests.sh new file mode 100644 index 00000000..1e4ae711 --- /dev/null +++ b/.github/workflows/TriggerIntegrationTests.sh @@ -0,0 +1,33 @@ +token=$1 +commit=$2 +repository=$3 +prNumber=$4 +frombranch=$5 +tobranch=$6 +patUser=$7 + +getPayLoad() { + cat <