forked from ashfurrow/Nimble-Snapshots
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request ashfurrow#221 from ashfurrow/feature/github-action
Initial Github Actions integration
- Loading branch information
Showing
136 changed files
with
69 additions
and
74 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,69 @@ | ||
name: Testing | ||
on: [push, pull_request] | ||
|
||
jobs: | ||
test: | ||
name: Build and Test Nimble-Snapshots | ||
runs-on: macOS-latest | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/[email protected] | ||
|
||
- name: Setup Xcode version | ||
uses: maxim-lobanov/[email protected] | ||
with: | ||
xcode-version: 12.4 | ||
|
||
- name: Set up Ruby 2.6 | ||
uses: ruby/[email protected] | ||
with: | ||
ruby-version: 2.6 | ||
bundler-cache: true | ||
|
||
- name: Danger action | ||
uses: MeilCli/[email protected] | ||
with: | ||
plugins_file: 'Gemfile' | ||
install_path: 'vendor/bundle' | ||
danger_file: 'Dangerfile' | ||
danger_id: 'danger-pr' | ||
env: | ||
DANGER_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: "Create output dir" | ||
run: mkdir output | ||
|
||
- name: Run tests in Swift 4.2 | ||
run: xcodebuild -workspace 'Bootstrap/Bootstrap.xcworkspace' -sdk 'iphonesimulator' -scheme 'Bootstrap' -destination 'name=iPhone 8' SWIFT_VERSION=4.2 build test | tee output/xcodebuild_swift4.2.log | ||
|
||
- name: Run tests in Swift 5.0 | ||
run: xcodebuild -workspace 'Bootstrap/Bootstrap.xcworkspace' -sdk 'iphonesimulator' -scheme 'Bootstrap' -destination 'name=iPhone 8' SWIFT_VERSION=5.0 build test | tee output/xcodebuild_swift5.0.log | ||
|
||
- name: Run Carthage integration test | ||
run: sh carthage-xcode-12.sh bootstrap --platform iOS && xcodebuild | ||
shell: bash | ||
|
||
- name: Swiftlint | ||
run: | | ||
swiftlint lint --no-cache --reporter junit | tee result.xml | ||
- name: Store Swiftlint artifacts | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: Swiftlint | ||
path: | | ||
result.xml | ||
- name: Store output artifacts | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: Output | ||
path: | | ||
output | ||
- name: Store FailureDiffs artifacts | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: FailureDiffs | ||
path: | | ||
Bootstrap/BootstrapTests/FailureDiffs/ |
Binary file removed
BIN
-453 Bytes
...ext__has_a_valid_snapshot_with_model_and_OS_in_name__iPhone_12_2_375x667@2x.png
Binary file not shown.
File renamed without changes
Binary file removed
BIN
-453 Bytes
...t_with_model_and_OS_in_name_and_identifier_bootstrap_iPhone_11_2_375x667@2x.png
Binary file not shown.
Binary file removed
BIN
-453 Bytes
...t_with_model_and_OS_in_name_and_identifier_bootstrap_iPhone_12_0_375x667@2x.png
Binary file not shown.
Binary file removed
BIN
-453 Bytes
...t_with_model_and_OS_in_name_and_identifier_bootstrap_iPhone_12_1_375x667@2x.png
Binary file not shown.
Binary file removed
BIN
-453 Bytes
...t_with_model_and_OS_in_name_and_identifier_bootstrap_iPhone_12_2_375x667@2x.png
Binary file not shown.
File renamed without changes
Binary file removed
BIN
-453 Bytes
...rapTests/something_custom_with_model_and_OS_boostrap_iPhone_12_2_375x667@2x.png
Binary file not shown.
File renamed without changes
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
File renamed without changes
Binary file removed
BIN
-27.1 KB
...id_snapshot_with_model_and_OS_in_name_AccessibilityL_iPhone_12_2_132x132@2x.png
Binary file not shown.
Binary file removed
BIN
-27.1 KB
...id_snapshot_with_model_and_OS_in_name_AccessibilityL_iPhone_12_2_375x667@2x.png
Binary file not shown.
Binary file removed
BIN
-27.1 KB
...alid_snapshot_with_model_and_OS_in_name_AccessibilityL_iPhone_12_2_44x44@2x.png
Binary file not shown.
Binary file removed
BIN
-27.1 KB
...alid_snapshot_with_model_and_OS_in_name_AccessibilityL_iPhone_12_2_88x88@2x.png
Binary file not shown.
File renamed without changes
Binary file removed
BIN
-27.5 KB
...id_snapshot_with_model_and_OS_in_name_AccessibilityM_iPhone_12_2_132x132@2x.png
Binary file not shown.
Binary file removed
BIN
-27.5 KB
...id_snapshot_with_model_and_OS_in_name_AccessibilityM_iPhone_12_2_375x667@2x.png
Binary file not shown.
Binary file removed
BIN
-27.5 KB
...alid_snapshot_with_model_and_OS_in_name_AccessibilityM_iPhone_12_2_44x44@2x.png
Binary file not shown.
Binary file removed
BIN
-27.5 KB
...alid_snapshot_with_model_and_OS_in_name_AccessibilityM_iPhone_12_2_88x88@2x.png
Binary file not shown.
File renamed without changes
Binary file removed
BIN
-29.9 KB
...d_snapshot_with_model_and_OS_in_name_AccessibilityXL_iPhone_12_2_132x132@2x.png
Binary file not shown.
Binary file removed
BIN
-29.9 KB
...d_snapshot_with_model_and_OS_in_name_AccessibilityXL_iPhone_12_2_375x667@2x.png
Diff not rendered.
Binary file removed
BIN
-29.9 KB
...lid_snapshot_with_model_and_OS_in_name_AccessibilityXL_iPhone_12_2_44x44@2x.png
Diff not rendered.
Binary file removed
BIN
-29.9 KB
...lid_snapshot_with_model_and_OS_in_name_AccessibilityXL_iPhone_12_2_88x88@2x.png
Diff not rendered.
File renamed without changes
Binary file removed
BIN
-32.3 KB
..._snapshot_with_model_and_OS_in_name_AccessibilityXXL_iPhone_12_2_132x132@2x.png
Diff not rendered.
Binary file removed
BIN
-32.3 KB
..._snapshot_with_model_and_OS_in_name_AccessibilityXXL_iPhone_12_2_375x667@2x.png
Diff not rendered.
Binary file removed
BIN
-32.3 KB
...id_snapshot_with_model_and_OS_in_name_AccessibilityXXL_iPhone_12_2_44x44@2x.png
Diff not rendered.
Binary file removed
BIN
-32.3 KB
...id_snapshot_with_model_and_OS_in_name_AccessibilityXXL_iPhone_12_2_88x88@2x.png
Diff not rendered.
File renamed without changes
Binary file removed
BIN
-34.3 KB
...snapshot_with_model_and_OS_in_name_AccessibilityXXXL_iPhone_12_2_132x132@2x.png
Diff not rendered.
Binary file removed
BIN
-34.3 KB
...snapshot_with_model_and_OS_in_name_AccessibilityXXXL_iPhone_12_2_375x667@2x.png
Diff not rendered.
Binary file removed
BIN
-34.3 KB
...d_snapshot_with_model_and_OS_in_name_AccessibilityXXXL_iPhone_12_2_44x44@2x.png
Diff not rendered.
Binary file removed
BIN
-34.3 KB
...d_snapshot_with_model_and_OS_in_name_AccessibilityXXXL_iPhone_12_2_88x88@2x.png
Diff not rendered.
File renamed without changes
Binary file removed
BIN
-20.1 KB
...xt__has_a_valid_snapshot_with_model_and_OS_in_name_L_iPhone_12_2_132x132@2x.png
Diff not rendered.
Binary file removed
BIN
-20.1 KB
...xt__has_a_valid_snapshot_with_model_and_OS_in_name_L_iPhone_12_2_375x667@2x.png
Diff not rendered.
Binary file removed
BIN
-20.1 KB
...text__has_a_valid_snapshot_with_model_and_OS_in_name_L_iPhone_12_2_44x44@2x.png
Diff not rendered.
Binary file removed
BIN
-20.1 KB
...text__has_a_valid_snapshot_with_model_and_OS_in_name_L_iPhone_12_2_88x88@2x.png
Diff not rendered.
File renamed without changes
Binary file removed
BIN
-20.8 KB
...xt__has_a_valid_snapshot_with_model_and_OS_in_name_M_iPhone_12_2_132x132@2x.png
Diff not rendered.
Binary file removed
BIN
-20.8 KB
...xt__has_a_valid_snapshot_with_model_and_OS_in_name_M_iPhone_12_2_375x667@2x.png
Diff not rendered.
Binary file removed
BIN
-20.8 KB
...text__has_a_valid_snapshot_with_model_and_OS_in_name_M_iPhone_12_2_44x44@2x.png
Diff not rendered.
Binary file removed
BIN
-20.8 KB
...text__has_a_valid_snapshot_with_model_and_OS_in_name_M_iPhone_12_2_88x88@2x.png
Diff not rendered.
File renamed without changes
Binary file removed
BIN
-20.8 KB
...xt__has_a_valid_snapshot_with_model_and_OS_in_name_S_iPhone_12_2_132x132@2x.png
Diff not rendered.
Binary file removed
BIN
-20.8 KB
...xt__has_a_valid_snapshot_with_model_and_OS_in_name_S_iPhone_12_2_375x667@2x.png
Diff not rendered.
Binary file removed
BIN
-20.8 KB
...text__has_a_valid_snapshot_with_model_and_OS_in_name_S_iPhone_12_2_44x44@2x.png
Diff not rendered.
Binary file removed
BIN
-20.8 KB
...text__has_a_valid_snapshot_with_model_and_OS_in_name_S_iPhone_12_2_88x88@2x.png
Diff not rendered.
File renamed without changes
Binary file removed
BIN
-21.1 KB
...t__has_a_valid_snapshot_with_model_and_OS_in_name_XL_iPhone_12_2_132x132@2x.png
Diff not rendered.
Binary file removed
BIN
-21.1 KB
...t__has_a_valid_snapshot_with_model_and_OS_in_name_XL_iPhone_12_2_375x667@2x.png
Diff not rendered.
Binary file removed
BIN
-21.1 KB
...ext__has_a_valid_snapshot_with_model_and_OS_in_name_XL_iPhone_12_2_44x44@2x.png
Diff not rendered.
Binary file removed
BIN
-21.1 KB
...ext__has_a_valid_snapshot_with_model_and_OS_in_name_XL_iPhone_12_2_88x88@2x.png
Diff not rendered.
File renamed without changes
Binary file removed
BIN
-21.4 KB
...t__has_a_valid_snapshot_with_model_and_OS_in_name_XS_iPhone_12_2_132x132@2x.png
Diff not rendered.
Binary file removed
BIN
-21.4 KB
...t__has_a_valid_snapshot_with_model_and_OS_in_name_XS_iPhone_12_2_375x667@2x.png
Diff not rendered.
Binary file removed
BIN
-21.4 KB
...ext__has_a_valid_snapshot_with_model_and_OS_in_name_XS_iPhone_12_2_44x44@2x.png
Diff not rendered.
Binary file removed
BIN
-21.4 KB
...ext__has_a_valid_snapshot_with_model_and_OS_in_name_XS_iPhone_12_2_88x88@2x.png
Diff not rendered.
File renamed without changes
Binary file removed
BIN
-21.3 KB
...__has_a_valid_snapshot_with_model_and_OS_in_name_XXL_iPhone_12_2_132x132@2x.png
Diff not rendered.
Binary file removed
BIN
-21.3 KB
...__has_a_valid_snapshot_with_model_and_OS_in_name_XXL_iPhone_12_2_375x667@2x.png
Diff not rendered.
Binary file removed
BIN
-21.3 KB
...xt__has_a_valid_snapshot_with_model_and_OS_in_name_XXL_iPhone_12_2_44x44@2x.png
Diff not rendered.
Binary file removed
BIN
-21.3 KB
...xt__has_a_valid_snapshot_with_model_and_OS_in_name_XXL_iPhone_12_2_88x88@2x.png
Diff not rendered.
File renamed without changes
Binary file removed
BIN
-21.5 KB
..._has_a_valid_snapshot_with_model_and_OS_in_name_XXXL_iPhone_12_2_132x132@2x.png
Diff not rendered.
Binary file removed
BIN
-21.5 KB
..._has_a_valid_snapshot_with_model_and_OS_in_name_XXXL_iPhone_12_2_375x667@2x.png
Diff not rendered.
Binary file removed
BIN
-21.5 KB
...t__has_a_valid_snapshot_with_model_and_OS_in_name_XXXL_iPhone_12_2_44x44@2x.png
Diff not rendered.
Binary file removed
BIN
-21.5 KB
...t__has_a_valid_snapshot_with_model_and_OS_in_name_XXXL_iPhone_12_2_88x88@2x.png
Diff not rendered.
File renamed without changes
Binary file removed
BIN
-27.1 KB
...ts/something_custom_with_model_and_OS_AccessibilityL_iPhone_12_2_132x132@2x.png
Diff not rendered.
Binary file removed
BIN
-27.1 KB
...ts/something_custom_with_model_and_OS_AccessibilityL_iPhone_12_2_375x667@2x.png
Diff not rendered.
Binary file removed
BIN
-27.1 KB
...ests/something_custom_with_model_and_OS_AccessibilityL_iPhone_12_2_44x44@2x.png
Diff not rendered.
Binary file removed
BIN
-27.1 KB
...ests/something_custom_with_model_and_OS_AccessibilityL_iPhone_12_2_88x88@2x.png
Diff not rendered.
File renamed without changes
Binary file removed
BIN
-27.5 KB
...ts/something_custom_with_model_and_OS_AccessibilityM_iPhone_12_2_132x132@2x.png
Diff not rendered.
Binary file removed
BIN
-27.5 KB
...ts/something_custom_with_model_and_OS_AccessibilityM_iPhone_12_2_375x667@2x.png
Diff not rendered.
Binary file removed
BIN
-27.5 KB
...ests/something_custom_with_model_and_OS_AccessibilityM_iPhone_12_2_44x44@2x.png
Diff not rendered.
Binary file removed
BIN
-27.5 KB
...ests/something_custom_with_model_and_OS_AccessibilityM_iPhone_12_2_88x88@2x.png
Diff not rendered.
File renamed without changes
Binary file removed
BIN
-29.9 KB
...s/something_custom_with_model_and_OS_AccessibilityXL_iPhone_12_2_132x132@2x.png
Diff not rendered.
Binary file removed
BIN
-29.9 KB
...s/something_custom_with_model_and_OS_AccessibilityXL_iPhone_12_2_375x667@2x.png
Diff not rendered.
Binary file removed
BIN
-29.9 KB
...sts/something_custom_with_model_and_OS_AccessibilityXL_iPhone_12_2_44x44@2x.png
Diff not rendered.
Binary file removed
BIN
-29.9 KB
...sts/something_custom_with_model_and_OS_AccessibilityXL_iPhone_12_2_88x88@2x.png
Diff not rendered.
File renamed without changes
Binary file removed
BIN
-32.3 KB
.../something_custom_with_model_and_OS_AccessibilityXXL_iPhone_12_2_132x132@2x.png
Diff not rendered.
Binary file removed
BIN
-32.3 KB
.../something_custom_with_model_and_OS_AccessibilityXXL_iPhone_12_2_375x667@2x.png
Diff not rendered.
Binary file removed
BIN
-32.3 KB
...ts/something_custom_with_model_and_OS_AccessibilityXXL_iPhone_12_2_44x44@2x.png
Diff not rendered.
Binary file removed
BIN
-32.3 KB
...ts/something_custom_with_model_and_OS_AccessibilityXXL_iPhone_12_2_88x88@2x.png
Diff not rendered.
File renamed without changes
Binary file removed
BIN
-34.3 KB
...something_custom_with_model_and_OS_AccessibilityXXXL_iPhone_12_2_132x132@2x.png
Diff not rendered.
Binary file removed
BIN
-34.3 KB
...something_custom_with_model_and_OS_AccessibilityXXXL_iPhone_12_2_375x667@2x.png
Diff not rendered.
Binary file removed
BIN
-34.3 KB
...s/something_custom_with_model_and_OS_AccessibilityXXXL_iPhone_12_2_44x44@2x.png
Diff not rendered.
Binary file removed
BIN
-34.3 KB
...s/something_custom_with_model_and_OS_AccessibilityXXXL_iPhone_12_2_88x88@2x.png
Diff not rendered.
File renamed without changes
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
File renamed without changes
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
File renamed without changes
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
File renamed without changes
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
File renamed without changes
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
File renamed without changes
Binary file removed
BIN
-21.3 KB
...amicTypeTests/something_custom_with_model_and_OS_XXL_iPhone_12_2_132x132@2x.png
Diff not rendered.
Binary file removed
BIN
-21.3 KB
...amicTypeTests/something_custom_with_model_and_OS_XXL_iPhone_12_2_375x667@2x.png
Diff not rendered.
Diff not rendered.
Diff not rendered.
File renamed without changes
Binary file removed
BIN
-21.5 KB
...micTypeTests/something_custom_with_model_and_OS_XXXL_iPhone_12_2_132x132@2x.png
Diff not rendered.
Binary file removed
BIN
-21.5 KB
...micTypeTests/something_custom_with_model_and_OS_XXXL_iPhone_12_2_375x667@2x.png
Diff not rendered.
Diff not rendered.
Diff not rendered.
File renamed without changes