Skip to content
This repository has been archived by the owner on Nov 13, 2024. It is now read-only.

Commit

Permalink
Push image diffs
Browse files Browse the repository at this point in the history
  • Loading branch information
scottasoutherland committed Nov 14, 2023
1 parent 4b412cf commit b11143b
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
11 changes: 10 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,17 @@ jobs:
run: sh .github/scripts/lint.sh

- name: 📋 Build and test
run: sh .github/scripts/run_tests.sh
run: sh .github/scripts/run_tests.sh || echo "Pushing diffs"
env:
scheme: ${{ matrix.scheme }}
destination: ${{ matrix.destination }}
DEVELOPER_DIR: ${{ matrix.xcode }}

- name: 📥 Push
run: |
rm -rf .build/
git clean -df
git config --global user.name 'tt-ios-bot'
git config --global user.email '[email protected]'
git commit -am "Image Diffs"
git push
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ open class SnapshotTestCase: XCTestCase {

open override func setUp() {
super.setUp()

self.recordMode = true
behavior = TestCaseBehavior()
}

Expand Down

0 comments on commit b11143b

Please sign in to comment.