Skip to content

Commit de464fc

Browse files
print the output of make format to see why it doesn't work on github runners
1 parent f520c17 commit de464fc

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.github/workflows/test.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,9 @@ jobs:
9191
- name: Install dependencies
9292
run: ./.github/scripts/install_dependencies.sh
9393

94+
- name: Print Git Config
95+
run: git config --list
96+
9497
- name: Test
9598
run: ./dev/${{ matrix.script }}
9699

dev/check-format.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#!/usr/bin/env bash
2+
set -x
23

34
clean=$(git status -s -uno | wc -l) #Short ignore untracked
45

@@ -8,7 +9,8 @@ if [ $clean -ne 0 ]; then
89
else
910
echo "Code Formatting Check"
1011
echo "====================="
11-
make format"$1" > /dev/null 2>&1
12+
make format"$1"
13+
git status -s -uno
1214

1315
valid_format=$(git diff | wc -l)
1416

0 commit comments

Comments
 (0)