File tree Expand file tree Collapse file tree 1 file changed +15
-3
lines changed Expand file tree Collapse file tree 1 file changed +15
-3
lines changed Original file line number Diff line number Diff line change 14
14
swift-version : [5.2.4, 5.1]
15
15
name : Swift ${{ matrix.swift-version }} on ${{ matrix.os }}
16
16
runs-on : ${{ matrix.os }}
17
-
18
17
steps :
19
18
- name : Checkout
20
19
uses : actions/checkout@v2
@@ -30,13 +29,26 @@ jobs:
30
29
swift build --enable-test-discovery
31
30
- name : Test
32
31
run : swift test --enable-test-discovery --parallel
32
+
33
+ xcode :
34
+ name : Xcode project and Cocoapod
35
+ runs-on : macos-latest
36
+ steps :
37
+ - name : Checkout
38
+ uses : actions/checkout@v2
33
39
- name : Test Xcodeproject
34
- if : matrix.os == 'macos-latest'
35
40
run : |
41
+ set -eo pipefail
36
42
gem install xcpretty-travis-formatter
43
+ xcodebuild -version
37
44
xcodebuild test -scheme SwiftShell | xcpretty -f `xcpretty-travis-formatter`
45
+ - name : Test Xcodeproject in Xcode 12 beta
46
+ run : |
47
+ set -eo pipefail
48
+ sudo xcode-select -s /Applications/Xcode_12_beta.app
49
+ xcodebuild -version
50
+ xcodebuild test -scheme SwiftShell | xcpretty -f `xcpretty-travis-formatter`
38
51
- name : Test Cocoapod
39
- if : matrix.os == 'macos-latest'
40
52
run : |
41
53
pod repo update --silent
42
54
pod lib lint --allow-warnings
You can’t perform that action at this time.
0 commit comments