Skip to content

Commit

Permalink
EMA-150 auto test memory optimizing
Browse files Browse the repository at this point in the history
  • Loading branch information
Sanyi committed Jul 29, 2024
1 parent 75524ca commit 3712947
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,11 +70,12 @@ jobs:
- name: Run unit test
shell: bash
run: |
cd magento2-extension
retries=3
count=0
until [ $count -ge $retries ]
do
cd magento2-extension && bash dev/testv2/tools/scripts/run-unit.sh && break
bash dev/testv2/tools/scripts/run-unit.sh && break
count=$((count+1))
echo "Retrying e2e tests ($count/$retries)..."
sleep 30
Expand Down Expand Up @@ -147,11 +148,12 @@ jobs:
- name: Run e2e test
shell: bash
run: |
cd magento2-extension
retries=3
count=0
until [ $count -ge $retries ]
do
cd magento2-extension && bash dev/testv2/tools/scripts/run-e2e.sh && break
bash dev/testv2/tools/scripts/run-e2e.sh && break
count=$((count+1))
echo "Retrying e2e tests ($count/$retries)..."
sleep 30
Expand Down

0 comments on commit 3712947

Please sign in to comment.