Skip to content

Commit 63473bc

Browse files
committed
Colorize the diff
Including color in the diff of expected vs. actual failed tests makes the output easier to see (much as color helps in `nextest`). This commit also makes some stylistic changes to the command so it is easier to read.
1 parent 29be38f commit 63473bc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,8 @@ jobs:
131131
run: |
132132
# Fail the check if there are any differences, even unexpectedly passing tests, so they can be
133133
# investigated. (If this check is made blocking for PRs, this exact check may need to be changed.)
134-
git --no-pager diff --no-index --exit-code -U1000000 -- expected-failures.txt actual-failures.txt
134+
git --no-pager diff --no-index --exit-code --unified=1000000 --color=always -- `
135+
expected-failures.txt actual-failures.txt
135136
136137
test-32bit:
137138
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)