Skip to content

Commit 2095bc9

Browse files
committed
Have CI check for diffs after integration tests
This should currently fail in CI, as IntegrationTests/transcript.output.md is out of date.
1 parent 2da1dfe commit 2095bc9

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/ci.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,10 @@ jobs:
161161

162162
- name: cli-integration-tests
163163
if: steps.cache-ucm-binaries.outputs.cache-hit != 'true'
164-
run: stack exec cli-integration-tests
164+
run: |
165+
stack exec cli-integration-tests
166+
# Fail if any transcripts cause git diffs.
167+
git diff --ignore-cr-at-eol --exit-code unison-cli-integration/integration-tests
165168
166169
- name: verify stack ghci startup
167170
if: runner.os == 'macOS' && steps.cache-ucm-binaries.outputs.cache-hit != 'true'

0 commit comments

Comments
 (0)