Skip to content
Permalink
Browse files

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 3de720d099c86c8996a7db52069f8c5b97a88ef6
Showing with 7 additions and 1 deletion.
  1. +6 −0 .github/workflows/code_layout.yml
  2. +1 −1 scripts/verify_indentation.sh
@@ -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

@@ -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

0 comments on commit 3de720d

Please sign in to comment.
You can’t perform that action at this time.