-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7974d97
commit dd44d6a
Showing
2 changed files
with
42 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
name: Lint | ||
on: [push] | ||
jobs: | ||
SwiftLint: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: GitHub Action for SwiftLint with --strict | ||
uses: norio-nomura/[email protected] | ||
with: | ||
args: --strict |
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,31 @@ | ||
name: Test | ||
on: [push] | ||
jobs: | ||
test_ipad: | ||
name: Test-iPad | ||
runs-on: macOS-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
- name: List available Xcode versions | ||
run: ls /Applications | grep Xcode | ||
- name: Force Xcode 12.4 | ||
run: sudo xcode-select -switch /Applications/Xcode_12.4.app | ||
- name: Make project | ||
run: make generate | ||
- name: Run tests | ||
run: make test-iPad | ||
test_iphone: | ||
name: Test-iPhone | ||
runs-on: macOS-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
- name: List available Xcode versions | ||
run: ls /Applications | grep Xcode | ||
- name: Force Xcode 12.4 | ||
run: sudo xcode-select -switch /Applications/Xcode_12.4.app | ||
- name: Make project | ||
run: make generate | ||
- name: Run tests | ||
run: make test-iPhone |