Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit3dd549f

Browse files
Test for new Lib_updater.py script in integration phase (for Lib/test file patching)
* see PR#6089* see GHI#5974
1 parente20f6c5 commit3dd549f

File tree

3 files changed

+9
-375
lines changed

3 files changed

+9
-375
lines changed

‎.github/actions/CI-5974-Integrate-CPython/action.yaml‎

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,12 @@ runs:
7171
printf "::group::%s\n" "Copy Reference Implementation" ;
7272
for reference_file in ${INPUT_FILES}; do
7373
[[ -d $(dirname ${{ inputs.into-path }}/"${reference_file}" ) ]] || mkdir $MKDIR_ARGS $(dirname ${{ inputs.into-path }}/"${reference_file}" ) ;
74-
cp -vf ${{ inputs.from-path }}/"${reference_file}" ${{ inputs.into-path }}/"${reference_file}" || printf "::warning file='%s',title='integration failure':: Could not integrate file for Cpython %s on %s.\n" "${reference_file}" '${PYTHON_VERSION}' '${{ runner.os }}' ;
74+
if [[ "$reference_file" == Lib/test/* ]] ; then
75+
# update patches with lib_updater tool from #6089
76+
${{ inputs.into-path }}/scripts/lib_updater.py --from ${{ inputs.into-path }}/"${reference_file}" --to ${{ inputs.from-path }}/"${reference_file}" -o ${{ inputs.into-path }}/"${reference_file}" || \
77+
printf "::warning file='%s',title='integration failure':: Could not integrate file for Cpython %s on %s.\n" "${reference_file}" '${PYTHON_VERSION}' '${{ runner.os }}' ;
78+
else
79+
cp -vf ${{ inputs.from-path }}/"${reference_file}" ${{ inputs.into-path }}/"${reference_file}" || printf "::warning file='%s',title='integration failure':: Could not integrate file for Cpython %s on %s.\n" "${reference_file}" '${PYTHON_VERSION}' '${{ runner.os }}' ;
80+
fi
7581
done ;
7682
printf "\n::endgroup::\n\n" ;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp