Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Validate recorded snapshots in Swift workflow #311

Merged
merged 9 commits into from
Jan 31, 2024
7 changes: 7 additions & 0 deletions .github/workflows/swift.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,3 +52,10 @@ jobs:
test-without-building
-scheme "Layout"
-destination "name=$SIMULATOR,OS=latest"
- name: Delete snapshots
run: make delete-snapshots
- name: Record snapshots
run: xcodebuild test-without-building -scheme "Layout" -destination "name=$SIMULATOR,OS=latest"
tinder-garricnahapetian marked this conversation as resolved.
Show resolved Hide resolved
continue-on-error: true
- name: Validate recorded snapshots
run: test -z "$(git status --porcelain)"
Loading