forked from krzyzanowskim/STTextView
-
Notifications
You must be signed in to change notification settings - Fork 0
44 lines (36 loc) · 930 Bytes
/
tests.yml
File metadata and controls
44 lines (36 loc) · 930 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
name: Tests
on:
push:
tags:
- '*'
pull_request:
branches: [main]
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test-macos:
name: Test macOS
runs-on: macos-15
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Select Xcode
uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: '26.1'
- name: Build and Test
run: swift test --parallel
test-ios:
name: Test iOS
runs-on: macos-15
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Select Xcode
uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: '26.1'
- name: Build and Test
run: xcodebuild test -scheme STTextViewUIKitTests -destination 'platform=iOS Simulator,name=iPhone 16,OS=latest' -parallel-testing-enabled YES