From fd01bfbecbf08fbbad27956c49da992bcd1d163c 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 | 33 +++++++++++++++ .github/workflows/integration-tests.yml | 19 +++++++++ .../workflows/{test.yml => unit-tests.yml} | 7 ++-- lib/run.js | 41 +++++++++---------- 4 files changed, 76 insertions(+), 24 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..1e4ae71 --- /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 <