Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #36350 from m-kuhn/code_layout_test_to_github_work…
…flow

Install indentation/astyle deps for static tests
  • Loading branch information
m-kuhn committed May 11, 2020
2 parents 02df257 + 84e6378 commit 3de720d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .github/workflows/code_layout.yml
Expand Up @@ -102,6 +102,12 @@ jobs:
uses: actions/checkout@v2
with:
fetch-depth: 100
- name: Install Requirements
run: |
sudo apt install -y \
astyle \
python-autopep8 \
flip
- name: Indentation Test
run: ./scripts/verify_indentation.sh HEAD~1

Expand Down
2 changes: 1 addition & 1 deletion scripts/verify_indentation.sh
Expand Up @@ -20,7 +20,7 @@ ASTYLEDIFF=/tmp/astyle.diff
true > $ASTYLEDIFF


echo "Commit range: $1"
# echo "Commit range: $1"
FILES=$(git diff --diff-filter=AM --name-only $1 | tr '\n' ' ' )

for f in $FILES; do
Expand Down

0 comments on commit 3de720d

Please sign in to comment.