Skip to content

Commit f72d678

Browse files
author
zhoujiamei
committed
add log to debug
1 parent 746f39f commit f72d678

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

.github/workflows/unit_tests_common.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ jobs:
5454
5555
CHANGED_FILES=$(git diff --name-only $BASE_REF...HEAD 2>/dev/null || git diff --name-only $BASE_REF HEAD)
5656
57-
# 修改 detect_changes 里的 grep 正则,增加对 .github/ 的匹配
5857
echo "core=$(echo "$CHANGED_FILES" | grep -qE "^tests/unit_tests/|^megatron/core/|^.github/" && echo "true" || echo "false")" >> $GITHUB_OUTPUT
5958
echo "qa_l0=$(echo "$CHANGED_FILES" | grep -qE "^qa/L0_|^transformer_engine/|^tests/pytorch/|^.github/" && echo "true" || echo "false")" >> $GITHUB_OUTPUT
6059
@@ -129,8 +128,8 @@ jobs:
129128
${{ inputs.setup_commands }}
130129
131130
# 2. Universal dependency sync using the activated python environment
132-
python3 -m pip install --no-cache-dir transformers expecttest boto3==1.42.1
133-
python3 -m pip install -e . --no-deps
131+
python3 -m pip install --no-cache-dir transformers expecttest boto3==1.42.1 --no-deps || true
132+
python3 -m pip install -v -e . --no-deps
134133
timeout-minutes: 20
135134

136135
- name: Execute Tests

0 commit comments

Comments
 (0)