-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Run test after recording snapshots (#189)
* Set token on check action * Set name and email * Fix testTypeDescription * Fix codecov for PRs Co-authored-by: pola-ci <[email protected]>
- Loading branch information
1 parent
b52af5e
commit 6c9fe0c
Showing
7 changed files
with
16 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
-3.92 KB
(89%)
.../PolaUITests/Tests/__Snapshots__/ReportBugPageUITests/testTypeDescription.1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,7 +14,11 @@ platform :ios do | |
end | ||
|
||
lane :ui_tests do | ||
scan(scheme: "PolaUITests") | ||
try_scan( | ||
scheme: "PolaUITests", | ||
try_count: 3, | ||
try_parallel: false | ||
) | ||
end | ||
|
||
lane :record_snapshots do | ||
|
@@ -34,6 +38,10 @@ platform :ios do | |
fail_build: false | ||
) | ||
if is_ci | ||
set_git_config_user( | ||
name: "pola-ci", | ||
email: "[email protected]" | ||
) | ||
git_commit( | ||
message: "Record snapshot :camera:", | ||
path: snapshots_paths | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
gem 'fastlane-plugin-menigit' | ||
gem 'fastlane-plugin-synx' | ||
gem 'fastlane-plugin-swiftformat' | ||
gem 'fastlane-plugin-try_scan' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters