-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
bf670ae
commit 7230de8
Showing
3 changed files
with
31 additions
and
8 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,25 @@ | ||
name: Build and Test Action | ||
|
||
inputs: | ||
scheme: | ||
required: true | ||
type: string | ||
destination: | ||
required: true | ||
type: string | ||
name: | ||
required: true | ||
type: string | ||
|
||
runs: | ||
using: "composite" | ||
|
||
steps: | ||
- name: ${{ inputs.name }} | ||
run: | | ||
xcodebuild clean build-for-testing \ | ||
-scheme ${{ inputs.scheme }} \ | ||
-destination "${{ inputs.destination }}" \ | ||
-testPlan UnitTests \ | ||
-enableCodeCoverage YES \ | ||
-resultBundlePath "test_output/${{ inputs.name }}.xcresult" || exit 1 |
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: Build and Test Action | ||
name: Upload a Test Coverage Report | ||
|
||
inputs: | ||
filename: | ||
|
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