From 4057e7396e0dc0bb44eebd6a048ba75d2f2a38a3 Mon Sep 17 00:00:00 2001 From: Sundar Guntnur Date: Fri, 26 Mar 2021 21:35:41 +0530 Subject: [PATCH] Added trigger for L2 tests and ran build. --- .github/workflows/TriggerIntegrationTests.sh | 32 +++++++++++++++ .github/workflows/integration-tests.yml | 19 +++++++++ .../workflows/{test.yml => unit-tests.yml} | 6 ++- lib/run.js | 41 +++++++++---------- 4 files changed, 75 insertions(+), 23 deletions(-) create mode 100644 .github/workflows/TriggerIntegrationTests.sh create mode 100644 .github/workflows/integration-tests.yml rename .github/workflows/{test.yml => unit-tests.yml} (82%) diff --git a/.github/workflows/TriggerIntegrationTests.sh b/.github/workflows/TriggerIntegrationTests.sh new file mode 100644 index 0000000..352d8a1 --- /dev/null +++ b/.github/workflows/TriggerIntegrationTests.sh @@ -0,0 +1,32 @@ +token=$1 +commit=$2 +repository=$3 +prNumber=$4 +frombranch=$5 +tobranch=$6 + +getPayLoad() { + cat <