Skip to content

Commit 5ff9266

Browse files
committed
Removing platform runner workflows
1 parent 0f80215 commit 5ff9266

File tree

1 file changed

+15
-43
lines changed

1 file changed

+15
-43
lines changed

.github/workflows/unit-tests.yml

Lines changed: 15 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ on:
2323

2424
jobs:
2525
swift_tests_latest:
26-
name: Latest Swift Version
26+
name: Latest Swift
2727
runs-on: macos-15
2828
steps:
2929
- uses: maxim-lobanov/setup-xcode@v1
@@ -40,55 +40,26 @@ jobs:
4040
run: swift build
4141
- name: Run tests
4242
run: swift test
43-
swift_tests_previous:
44-
name: Swift Version ${{ matrix.swift }}
45-
strategy:
46-
matrix:
47-
os: [macos-13]
48-
swift: ["5.9", "5.8"]
49-
runs-on: ${{ matrix.os }}
43+
swift_tests_latest:
44+
name: Swift 5.10
45+
runs-on: macos-14
5046
steps:
51-
- uses: swift-actions/setup-swift@v1
52-
with:
53-
swift-version: ${{ matrix.swift }}
5447
- uses: maxim-lobanov/setup-xcode@v1
5548
with:
56-
xcode-version: "14.3.1"
49+
xcode-version: "15.0"
5750
- uses: actions/checkout@v3
5851
- uses: actions/cache@v3
5952
with:
6053
path: .build
61-
key: ${{ matrix.os }}-${{ matrix.swift }}-spm-${{ hashFiles('**/Package.resolved') }}
54+
key: macos-latest-spm-${{ hashFiles('**/Package.resolved') }}
6255
restore-keys: |
63-
${{ matrix.os }}-spm-
56+
macos-latest-spm-
6457
- name: Build
6558
run: swift build
6659
- name: Run tests
6760
run: swift test
68-
69-
ios_tests_latest:
70-
name: iOS Unit Tests - Latest Swift
71-
runs-on: macos-15
72-
steps:
73-
- uses: maxim-lobanov/setup-xcode@v1
74-
with:
75-
xcode-version: "16.0"
76-
- uses: actions/checkout@v3
77-
- uses: actions/cache@v3
78-
with:
79-
path: .build
80-
key: macos-15-spm-${{ hashFiles('**/Package.resolved') }}
81-
restore-keys: |
82-
macos-15-spm-
83-
84-
- name: Build
85-
run: xcodebuild build -scheme SyntaxSparrow -destination "OS=18.1,name=iPhone 16"
86-
87-
- name: Test
88-
run: xcodebuild test -scheme SyntaxSparrow -destination "OS=18.1,name=iPhone 16" -enableCodeCoverage YES
89-
90-
ios_tests_previous:
91-
name: iOS Unit Tests
61+
swift_tests_previous:
62+
name: Swift Version ${{ matrix.swift }}
9263
strategy:
9364
matrix:
9465
os: [macos-13]
@@ -98,16 +69,17 @@ jobs:
9869
- uses: swift-actions/setup-swift@v1
9970
with:
10071
swift-version: ${{ matrix.swift }}
72+
- uses: maxim-lobanov/setup-xcode@v1
73+
with:
74+
xcode-version: "14.3.1"
10175
- uses: actions/checkout@v3
10276
- uses: actions/cache@v3
10377
with:
10478
path: .build
10579
key: ${{ matrix.os }}-${{ matrix.swift }}-spm-${{ hashFiles('**/Package.resolved') }}
10680
restore-keys: |
10781
${{ matrix.os }}-spm-
108-
10982
- name: Build
110-
run: xcodebuild build -scheme SyntaxSparrow -destination "OS=17.2,name=iPhone 13"
111-
112-
- name: Test
113-
run: xcodebuild test-without-building -scheme SyntaxSparrow -destination "name=iPhone 13" -enableCodeCoverage YES
83+
run: swift build
84+
- name: Run tests
85+
run: swift test

0 commit comments

Comments
 (0)