Skip to content

Commit

Permalink
test(ci): fix test on checking diff.
Browse files Browse the repository at this point in the history
  • Loading branch information
fky2015 committed Oct 17, 2022
1 parent a5e911d commit 5929571
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,4 @@ jobs:
- uses: actions/checkout@v3
- name: Check there is nothing to diff.
run: |
[[ ! `git status --porcelain` ]]
make check-cls
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -93,5 +93,5 @@ examples: cls
cd $(EXAMPLEDIR)/cover && latexmk && cd -

check-cls: copy
git status --porcelain | grep -q . && echo "Please commit your changes first." && exit 1
git status --porcelain | (! grep -q .) || (echo "Please execute \`make copy\` to update the *.cls in each templates."; exit 1)

0 comments on commit 5929571

Please sign in to comment.