Skip to content

Commit

Permalink
[3.11] Add an error message to the ABI-dump file check (#94129)
Browse files Browse the repository at this point in the history
  • Loading branch information
pablogsal authored Jun 22, 2022
1 parent 3ece6e6 commit 0dadb22
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,16 @@ jobs:
./configure --enable-shared
make -j4
- name: Check for changes in the ABI
run: make check-abidump
run: |
make check-abidump
if [ $? -neq 0 ] ; then
echo "Generated ABI file is not up to date."
echo "Please, add the release manager of this branch as a reviewer of this PR."
echo ""
echo "To learn more about this check, please visit: https://devguide.python.org/setup/?highlight=abi#regenerate-the-abi-dump"
echo ""
exit 1
fi
check_generated_files:
name: 'Check if generated files are up to date'
Expand Down

0 comments on commit 0dadb22

Please sign in to comment.