Skip to content

Commit 1df0e6e

Browse files
committed
use spm for tests
1 parent a7b7e8e commit 1df0e6e

File tree

2 files changed

+5
-15
lines changed

2 files changed

+5
-15
lines changed

.github/workflows/analytics.yml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ env:
2828

2929
jobs:
3030
cocoapods:
31-
name: cocoapods - ${{ matrix.os }}
31+
name: spm - ${{ matrix.os }}
3232
runs-on: macOS-15
3333
strategy:
3434
matrix:
@@ -50,7 +50,7 @@ jobs:
5050
scheme: AnalyticsExampleMac
5151
test: true
5252
env:
53-
SPM: false
53+
SPM: true
5454
LEGACY: false
5555
OS: ${{ matrix.os }}
5656
DEVICE: ${{ matrix.device }}
@@ -62,15 +62,9 @@ jobs:
6262
- name: Setup
6363
run: |
6464
cd analytics
65-
gem install bundler
66-
bundle install
67-
gem install xcpretty
68-
bundle exec pod install --repo-update
6965
../scripts/install_prereqs/analytics.sh
7066
- name: Build Swift
7167
run: ./scripts/test.sh
7268
env:
7369
TEST: ${{ matrix.test }}
7470
SWIFT_SUFFIX: ""
75-
76-
#TODO: Add `spm` job.

.github/workflows/authentication.yml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -28,24 +28,20 @@ env:
2828

2929
jobs:
3030
cocoapods:
31-
name: cocoapods
31+
name: spm
3232
runs-on: macOS-15
3333
env:
34-
SPM: false
34+
SPM: true
3535
LEGACY: false
3636
OS: iOS
3737
DEVICE: iPhone 16
38-
TEST: false
38+
TEST: true
3939
steps:
4040
- name: Checkout
4141
uses: actions/checkout@master
4242
- name: Setup
4343
run: |
4444
cd authentication
45-
gem install bundler
46-
bundle install
47-
gem install xcpretty
48-
bundle exec pod install --repo-update
4945
../scripts/install_prereqs/authentication.sh
5046
- name: Build Swift
5147
run: ./scripts/test.sh

0 commit comments

Comments
 (0)