Skip to content

Commit 6bdcfbb

Browse files
committed
move rc test to spm
1 parent 1df0e6e commit 6bdcfbb

File tree

2 files changed

+9
-13
lines changed

2 files changed

+9
-13
lines changed

.github/workflows/analytics.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -50,21 +50,21 @@ jobs:
5050
scheme: AnalyticsExampleMac
5151
test: true
5252
env:
53+
SETUP: analytics
5354
SPM: true
5455
LEGACY: false
55-
OS: ${{ matrix.os }}
56+
DIR: analytics
5657
DEVICE: ${{ matrix.device }}
58+
TEST: ${{ matrix.test }}
5759
SCHEME: ${{ matrix.scheme }}
5860
DEVELOPER_DIR: /Applications/Xcode_${{ matrix.xcode }}.app/Contents/Developer
5961
steps:
6062
- name: Checkout
6163
uses: actions/checkout@master
6264
- name: Setup
6365
run: |
64-
cd analytics
65-
../scripts/install_prereqs/analytics.sh
66-
- name: Build Swift
66+
gem install xcpretty
67+
cd $SETUP
68+
../scripts/install_prereqs/${SETUP}.sh
69+
- name: Build and Test SwiftUI (${{ matrix.os }})
6770
run: ./scripts/test.sh
68-
env:
69-
TEST: ${{ matrix.test }}
70-
SWIFT_SUFFIX: ""

.github/workflows/config.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,10 @@ 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
SWIFT_SUFFIX: ""
3737
TEST: true
@@ -41,10 +41,6 @@ jobs:
4141
- name: Setup
4242
run: |
4343
cd config
44-
gem install bundler
45-
bundle install
46-
gem install xcpretty
47-
bundle exec pod install --repo-update
4844
../scripts/install_prereqs/config.sh
4945
xcrun simctl boot "iPhone 16"
5046
- name: Build Swift

0 commit comments

Comments
 (0)