Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -152,10 +152,15 @@ jobs:
if-no-files-found: warn
retention-days: 7

- name: Check out.test.toml files are up to date
- name: Check no files changed or appeared after running tests
run: |
# Register untracked files with intent-to-add so `git diff` reports them
# too; a plain `git diff` ignores new files, which is how a missing
# out.test.toml previously slipped through. Ignored test artifacts are
# unaffected because intent-to-add respects .gitignore.
git add --intent-to-add .
if ! git diff --exit-code; then
echo "ERROR: detected changed files in the repository; Most likely you have out.test.toml files that are out of date. Run 'go test ./acceptance -run \"^TestAccept$\" -only-out-test-toml' to update."
echo "ERROR: detected changed or new files in the repository; Most likely you have out.test.toml files that are out of date. Run 'go test ./acceptance -run \"^TestAccept$\" -only-out-test-toml' to update."
exit 1
fi

Expand Down
3 changes: 3 additions & 0 deletions acceptance/bundle/paths/designer_notebook/out.test.toml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading