Skip to content

Commit ed83586

Browse files
committed
Add workflow to run tests on CI
1 parent c030c27 commit ed83586

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.github/workflows/test.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Pull Request Build
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- main
7+
8+
jobs:
9+
test:
10+
runs-on: macos-14
11+
strategy:
12+
matrix:
13+
xcode-version: [15.4, 16.1]
14+
steps:
15+
- name: Checkout code
16+
uses: actions/checkout@v2
17+
- name: Xcode select ${{ matrix.xcode-version }}
18+
run: sudo xcode-select -s '/Applications/Xcode_${{ matrix.xcode-version }}.app/Contents/Developer'
19+
- name: Run tests
20+
run: xcodebuild -scheme 'ETDistribution' -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 14 Pro' test

0 commit comments

Comments
 (0)