Skip to content

Commit 0fa4e1c

Browse files
authored
Create CI workflow
1 parent 390912c commit 0fa4e1c

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

.github/workflows/ci.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Swift
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
pull_request:
7+
branches: [ main ]
8+
9+
jobs:
10+
build-and-test:
11+
runs-on: macos-latest
12+
13+
steps:
14+
- uses: actions/checkout@v2
15+
- name: Build
16+
uses: sersoft-gmbh/[email protected]
17+
with:
18+
workspace: ResponsiveTextField.xcworkspace
19+
scheme: ResponsiveTextField
20+
destination: "platform=iOS Simulator,OS=14.4,name=iPhone 12"
21+
action: build-for-testing
22+
- name: Run Tests
23+
uses: sersoft-gmbh/[email protected]
24+
with:
25+
workspace: ResponsiveTextField.xcworkspace
26+
scheme: ResponsiveTextField
27+
destination: "platform=iOS Simulator,OS=14.4,name=iPhone 12"
28+
action: test-without-building

0 commit comments

Comments
 (0)