Skip to content

Commit eb8bd41

Browse files
committed
Run tests using CI
1 parent d06c5ad commit eb8bd41

File tree

1 file changed

+39
-0
lines changed

1 file changed

+39
-0
lines changed

.github/workflows/test.yml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
name: "Tests"
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
branches:
9+
- main
10+
11+
jobs:
12+
run-tests:
13+
name: Xcode ${{ matrix.xcode }}
14+
strategy:
15+
fail-fast: false
16+
matrix:
17+
xcode:
18+
# - "15.0"
19+
- "14.3.1"
20+
- "14.1"
21+
include:
22+
# - xcode: "15.0"
23+
# macos: macOS-13
24+
# destination: "platform=iOS Simulator,name=iPhone 14,OS=17.0"
25+
- xcode: "14.3.1"
26+
macos: macOS-13
27+
destination: "platform=iOS Simulator,name=iPhone 14,OS=16.4"
28+
- xcode: "14.1"
29+
macos: macOS-12
30+
destination: "platform=iOS Simulator,name=iPhone 14,OS=16.1"
31+
runs-on: ${{ matrix.macos }}
32+
env:
33+
DEVELOPER_DIR: /Applications/Xcode_${{ matrix.xcode }}.app/Contents/Developer
34+
steps:
35+
- name: Checkout Repo
36+
uses: actions/checkout@v3
37+
- name: Run Tests
38+
run: xcodebuild clean test -scheme TwitterImagePipeline-Package -destination '${{ matrix.destination }}'
39+

0 commit comments

Comments
 (0)