Skip to content

Commit ee2ddc2

Browse files
authored
[3.10] Add an error message to the ABI-dump file check (#94131)
1 parent 64b02c6 commit ee2ddc2

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

.github/workflows/build.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,16 @@ jobs:
7373
./configure --enable-shared
7474
make -j4
7575
- name: Check for changes in the ABI
76-
run: make check-abidump
76+
run: |
77+
make check-abidump
78+
if [ $? -neq 0 ] ; then
79+
echo "Generated ABI file is not up to date."
80+
echo "Please, add the release manager of this branch as a reviewer of this PR."
81+
echo ""
82+
echo "To learn more about this check, please visit: https://devguide.python.org/setup/?highlight=abi#regenerate-the-abi-dump"
83+
echo ""
84+
exit 1
85+
fi
7786
7887
check_generated_files:
7988
name: 'Check if generated files are up to date'

0 commit comments

Comments
 (0)