Skip to content

Commit

Permalink
[ci] Add expectations check for PR branch
Browse files Browse the repository at this point in the history
  • Loading branch information
sbc100 committed Dec 19, 2024
1 parent 971d4f6 commit caf25d1
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,5 +64,19 @@ jobs:
echo "Test expectations are out-of-date on the target branch."
echo "You can run `./tools/maint/rebaseline_tests.py --new-branch`"
echo "and use it to create a seperate PR."
echo "-- This failure is only a warning and can be ignored"
exit 1
fi
- name: Check test expectations on PR branch
run: |
git checkout ${{ github.base_name }}
./bootstrap
if ! ./tools/maint/rebaseline_tests.py --check-only; then
echo "Test expectations are out-of-date on the PR branch."
echo "You can run `./tools/maint/rebaseline_tests.py` to"
echo "create an commit updating the expectations."
echo "Be sure to have `emsdk install tot` first."
echo "-- This failure is only a warning and can be ignored"
exit 1
fi

0 comments on commit caf25d1

Please sign in to comment.