Skip to content

Commit

Permalink
Match existing workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
tinder-garricnahapetian committed Jan 27, 2024
1 parent 5aad353 commit ed22a8f
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/superfluous-snapshots.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,16 @@ jobs:
uses: actions/checkout@v3
- name: Delete snapshots
run: make delete-snapshots
- name: Record snapshots
- name: Resolve swift package
run: swift package resolve
- name: Resolve package dependencies
run: xcodebuild -resolvePackageDependencies
- name: Build
run: xcodebuild build-for-testing -scheme "Layout" -destination "name=$SIMULATOR,OS=latest"
- name: Test
run: |
set +e
xcodebuild test -skipPackageUpdates -scheme "Layout" -destination "name=iPhone 14 Pro,OS=latest"
xcodebuild test-without-building -scheme "Layout" -destination "name=$SIMULATOR,OS=latest"
- name: Detect superfluous snapshots
run: |
if [ -z "$(git status --porcelain)" ]
Expand Down

0 comments on commit ed22a8f

Please sign in to comment.