-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
60871a5
commit 6c36f84
Showing
1 changed file
with
35 additions
and
35 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,35 +31,35 @@ jobs: | |
# - run: yarn list --pattern "@ember/test-helpers" || true | ||
# Try installing explicitly before running | ||
- run: yarn add [email protected] --dev | ||
# - run: | | ||
# set -x | ||
# echo "=== Starting Tests ===" | ||
# export CHROME_FLAGS="--headless --disable-gpu --no-sandbox --disable-dev-shm-usage --memory-pressure-off --js-flags=\"--max_old_space_size=4096\"" | ||
# export TESTEM_LOG_FILE='/tmp/testem.log' | ||
# timeout 900 yarn ember-test-audit 1 --json --output ../base-audit.json || { | ||
# echo "=== Process timed out or failed ===" | ||
# echo "=== Last Testem Logs ===" | ||
# cat /tmp/testem.log || true | ||
# echo "=== Chrome Process Check ===" | ||
# ps aux | grep chrome || true | ||
# exit 1 | ||
# } | ||
# - run: | | ||
# export CHROME_FLAGS="--headless --disable-gpu --no-sandbox --disable-dev-shm-usage --memory-pressure-off --js-flags=\"--max_old_space_size=4096\"" | ||
# yarn ember-test-audit 1 --json --output ../base-audit.json | ||
- run: | | ||
set -x | ||
echo "=== Starting Tests ===" | ||
export CHROME_FLAGS="--headless --disable-gpu --no-sandbox --disable-dev-shm-usage --memory-pressure-off --js-flags=\"--max_old_space_size=4096\"" | ||
export TESTEM_LOG_FILE='/tmp/testem.log' | ||
yarn ember-test-audit 1 --json --output ../base-audit.json || { | ||
echo "=== Process failed ===" | ||
timeout 1800 yarn ember-test-audit 1 --json --output ../base-audit.json || { | ||
echo "=== Process timed out or failed ===" | ||
echo "=== Last Testem Logs ===" | ||
cat /tmp/testem.log || true | ||
echo "=== Chrome Process Check ===" | ||
pgrep -a chrome || true | ||
ps aux | grep chrome || true | ||
exit 1 | ||
} | ||
# - run: | | ||
# export CHROME_FLAGS="--headless --disable-gpu --no-sandbox --disable-dev-shm-usage --memory-pressure-off --js-flags=\"--max_old_space_size=4096\"" | ||
# yarn ember-test-audit 1 --json --output ../base-audit.json | ||
# - run: | | ||
# set -x | ||
# echo "=== Starting Tests ===" | ||
# export CHROME_FLAGS="--headless --disable-gpu --no-sandbox --disable-dev-shm-usage --memory-pressure-off --js-flags=\"--max_old_space_size=4096\"" | ||
# export TESTEM_LOG_FILE='/tmp/testem.log' | ||
# yarn ember-test-audit 1 --json --output ../base-audit.json || { | ||
# echo "=== Process failed ===" | ||
# echo "=== Last Testem Logs ===" | ||
# cat /tmp/testem.log || true | ||
# echo "=== Chrome Process Check ===" | ||
# pgrep -a chrome || true | ||
# exit 1 | ||
# } | ||
- name: Upload result | ||
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3 | ||
with: | ||
|
@@ -81,32 +81,32 @@ jobs: | |
# - run: | | ||
# export CHROME_FLAGS="--headless --disable-gpu --no-sandbox --disable-dev-shm-usage --memory-pressure-off --js-flags=\"--max_old_space_size=4096\"" | ||
# yarn ember-test-audit 1 --json --output ../pr-audit.json | ||
# - run: | | ||
# set -x | ||
# echo "=== Starting Tests ===" | ||
# export CHROME_FLAGS="--headless --disable-gpu --no-sandbox --disable-dev-shm-usage --memory-pressure-off --js-flags=\"--max_old_space_size=4096\"" | ||
# export TESTEM_LOG_FILE='/tmp/testem.log' | ||
# timeout 900 yarn ember-test-audit 1 --json --output ../pr-audit.json || { | ||
# echo "=== Process timed out or failed ===" | ||
# echo "=== Last Testem Logs ===" | ||
# cat /tmp/testem.log || true | ||
# echo "=== Chrome Process Check ===" | ||
# ps aux | grep chrome || true | ||
# exit 1 | ||
# } | ||
- run: | | ||
set -x | ||
echo "=== Starting Tests ===" | ||
export CHROME_FLAGS="--headless --disable-gpu --no-sandbox --disable-dev-shm-usage --memory-pressure-off --js-flags=\"--max_old_space_size=4096\"" | ||
export TESTEM_LOG_FILE='/tmp/testem.log' | ||
yarn ember-test-audit 1 --json --output ../pr-audit.json || { | ||
echo "=== Process failed ===" | ||
timeout 1800 yarn ember-test-audit 1 --json --output ../pr-audit.json || { | ||
echo "=== Process timed out or failed ===" | ||
echo "=== Last Testem Logs ===" | ||
cat /tmp/testem.log || true | ||
echo "=== Chrome Process Check ===" | ||
pgrep -a chrome || true | ||
ps aux | grep chrome || true | ||
exit 1 | ||
} | ||
# - run: | | ||
# set -x | ||
# echo "=== Starting Tests ===" | ||
# export CHROME_FLAGS="--headless --disable-gpu --no-sandbox --disable-dev-shm-usage --memory-pressure-off --js-flags=\"--max_old_space_size=4096\"" | ||
# export TESTEM_LOG_FILE='/tmp/testem.log' | ||
# yarn ember-test-audit 1 --json --output ../pr-audit.json || { | ||
# echo "=== Process failed ===" | ||
# echo "=== Last Testem Logs ===" | ||
# cat /tmp/testem.log || true | ||
# echo "=== Chrome Process Check ===" | ||
# pgrep -a chrome || true | ||
# exit 1 | ||
# } | ||
- name: Upload result | ||
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3 | ||
with: | ||
|