-
Notifications
You must be signed in to change notification settings - Fork 212
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ECP-8654] Clean up Workflow Files & Add Support For Express Checkout (…
…#2303) * Rename workflow and update target branch * Rename express checkout workflow * Skip installation of developer module in pipeline until ECP-8686 is resolved * Update bot usernames * Parametrize E2E script * Add comment * Unmount redundant path * Update workflow with parameters * Point default branch to develop * Remove redundant comments * Edit run name * Remove redundant conditional * Remove dev module setup, update name, enable run conditional * Update target branch for tests as develop --------- Co-authored-by: Cenk Kucukiravul <[email protected]>
- Loading branch information
1 parent
af84fb3
commit 2454b7f
Showing
7 changed files
with
61 additions
and
91 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,28 @@ | ||
#!/bin/bash | ||
set -euo pipefail | ||
|
||
# Checkout E2E tests | ||
cd /tmp; | ||
git clone https://github.com/Adyen/adyen-integration-tools-tests.git; | ||
cd adyen-integration-tools-tests; | ||
git checkout $INTEGRATION_TESTS_BRANCH; | ||
# Base configuration and installation | ||
set -euo pipefail | ||
cd /tmp | ||
git clone https://github.com/Adyen/adyen-integration-tools-tests.git | ||
cd adyen-integration-tools-tests | ||
git checkout $INTEGRATION_TESTS_BRANCH | ||
rm -rf package-lock.json | ||
npm i | ||
|
||
# Setup environment | ||
rm -rf package-lock.json; | ||
npm i; | ||
option="$1" | ||
|
||
# Run tests | ||
npm run test:ci:magento | ||
# Run the desired group of tests | ||
case $option in | ||
"standard") | ||
echo "Running Standard Set of E2E Tests." | ||
npm run test:ci:magento | ||
;; | ||
"express-checkout") | ||
echo "Running Express Checkout E2E Tests." | ||
npm run test:ci:magento:express-checkout | ||
;; | ||
"all") | ||
echo "Running All Magento E2E Tests" | ||
npm run test:ci:magento:all | ||
;; | ||
esac |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters