From eed1c2489922f2c453e4adad18ae8a77c5ba81c7 Mon Sep 17 00:00:00 2001 From: Sundar Date: Wed, 31 Mar 2021 17:20:55 +0530 Subject: [PATCH] Added L2 tests and compiled src. (#23) --- .github/workflows/TriggerIntegrationTests.sh | 33 +++++++++++++++++++ .github/workflows/integration-tests.yml | 19 +++++++++++ .../workflows/{test.yml => unit-tests.yml} | 6 ++-- lib/login.js | 8 +++-- package-lock.json | 17 +++++++--- package.json | 2 +- 6 files changed, 75 insertions(+), 10 deletions(-) create mode 100644 .github/workflows/TriggerIntegrationTests.sh create mode 100644 .github/workflows/integration-tests.yml rename .github/workflows/{test.yml => unit-tests.yml} (83%) diff --git a/.github/workflows/TriggerIntegrationTests.sh b/.github/workflows/TriggerIntegrationTests.sh new file mode 100644 index 00000000..55d76047 --- /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 <