Skip to content

Commit c875d5a

Browse files
committed
Updating action
1 parent 29c092f commit c875d5a

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

.github/workflows/ci.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,17 @@ jobs:
99
buildAndTest:
1010
name: build and test
1111
runs-on: macos-latest
12+
strategy:
13+
matrix:
14+
workspace: [".swiftpm/xcode/package.xcworkspace"]
15+
scheme: ["PassLibrary"]
16+
destination: ["platform=iOS Simulator,name=iPhone 11 Pro Max"]
1217
steps:
1318
- uses: actions/checkout@v1
1419
- name: Build and Test
1520
run: |
16-
"ls"
17-
"sh Scripts/Tests/run.sh"
21+
set -o pipefail && xcodebuild test -workspace "${workspace}" -scheme "${scheme}" -destination "${destination}" | xcpretty
22+
env:
23+
destination: ${{ matrix.destination }}
24+
scheme: ${{ matrix.scheme }}
25+
project: ${{ matrix.project }}

0 commit comments

Comments
 (0)