File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11name : Playwright test
2-
3- on :
4- schedule :
5- - cron : ' 0 2 * * *'
6- workflow_dispatch :
2+ on : ['push', 'pull_request']
73
84jobs :
95 playwright :
@@ -89,12 +85,13 @@ jobs:
8985 if : env.SKIP_JOB != 'true'
9086 run : |
9187 cd "$GITHUB_WORKSPACE"
92- cd /tmp/magento
88+ cp -R /tmp/magento $GITHUB_WORKSPACE/magento
89+ cd $GITHUB_WORKSPACE/magento
9390
9491 test -f "$GITHUB_WORKSPACE/.github/workflows/composer-additional.sh" && source "$GITHUB_WORKSPACE/.github/workflows/composer-additional.sh"
9592 test -f "$GITHUB_WORKSPACE/.github/workflows/composer-${MAGENTO_VERSION}.sh" && source "$GITHUB_WORKSPACE/.github/workflows/composer-${MAGENTO_VERSION}.sh"
9693
97- git config --global --add safe.directory /__w
94+ git config --global --add safe.directory /__w/${MAGENTO_MODULE}/${MAGENTO_MODULE}
9895 composer config repositories.local-source path "$GITHUB_WORKSPACE"
9996 composer require --prefer-source -- "${COMPOSER_NAME}:@dev" loki-checkout/magento2-core-cli:@dev loki-checkout/magento2-functional-tests:@dev yireo/magento2-enable-module-sequence
10097
@@ -109,7 +106,6 @@ jobs:
109106 cat app/etc/loki-checkout.json
110107
111108 magerun2 config:store:set loki_functional_tests/general/token loki -n
112- cp -R /tmp/magento $GITHUB_WORKSPACE/magento
113109
114110 - name : Prepare Magento Playwright setup
115111 if : env.SKIP_JOB != 'true'
You can’t perform that action at this time.
0 commit comments