-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Create github workflow * Update workflow trigger branch * Update workflows folder name * Resolve action error * Update branch * Delete workflow folder * Add secrets environment variable to workflows yml * Reset build settings * Reset build settings * Update env * Debug * debug * fix secret is empty * fix environment * Remove debug echo * update simulator device name * test * test * test * test * test * Test * Set up local env * fix
- Loading branch information
1 parent
efb284d
commit 099c8e4
Showing
4 changed files
with
53 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
|
||
name: Swift Unit Tests | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
test: | ||
name: Run Unit Tests | ||
runs-on: macos-latest | ||
environment: GIDClientID | ||
|
||
strategy: | ||
matrix: | ||
xcode-version: ['16.0'] | ||
ios-version: ['18.0'] | ||
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
|
||
- name: Set up Xcode | ||
uses: maxim-lobanov/setup-xcode@v1 | ||
with: | ||
xcode-version: ${{ matrix.xcode-version }} | ||
|
||
- name: Build and Test | ||
env: | ||
GIDCLIENTID: ${{ secrets.GIDCLIENTID }} | ||
run: | | ||
xcodebuild clean build test \ | ||
-scheme AdRevenueWatch \ | ||
-destination 'platform=iOS Simulator,name=iPhone 15,OS=${{ matrix.ios-version }}' \ | ||
-configuration Debug \ | ||
GIDCLIENTID="${GIDCLIENTID}" \ | ||
CODE_SIGNING_ALLOWED=NO |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters