Skip to content

Commit

Permalink
ci: add step to run helper script and check output
Browse files Browse the repository at this point in the history
fail if expected message is not present ("No changes detected")
  • Loading branch information
angela-tran committed May 24, 2024
1 parent f42e6a3 commit 52e0906
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/check-makemigrations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,12 @@ jobs:

- name: Install Python dependencies
run: pip install -e .[dev,test]

- name: Run ./bin/makemigrations.sh
run: |
if ./bin/makemigrations.sh | grep -q 'No changes detected';
then
exit 0;
else
exit 1;
fi

0 comments on commit 52e0906

Please sign in to comment.