-
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.
Release Candidate `3.0.0`
- Loading branch information
Showing
377 changed files
with
12,770 additions
and
310 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,48 @@ | ||
name: Build and Test Action | ||
|
||
inputs: | ||
scheme: | ||
required: true | ||
type: string | ||
destination: | ||
required: true | ||
type: string | ||
name: | ||
required: true | ||
type: string | ||
test_plan: | ||
required: false | ||
type: string | ||
generate_project: | ||
required: false | ||
type: boolean | ||
default: true | ||
|
||
runs: | ||
using: "composite" | ||
|
||
steps: | ||
- name: Install Dependencies & Generate project | ||
shell: bash | ||
run: | | ||
if [ "${{ inputs.generate_project }}" = "true" ]; then | ||
make setup_build_tools | ||
make generate | ||
fi | ||
- name: ${{ inputs.name }} | ||
shell: bash | ||
run: | | ||
if [ -n "${{ inputs.test_plan }}" ]; then | ||
xcodebuild clean test \ | ||
-scheme ${{ inputs.scheme }} \ | ||
-destination "${{ inputs.destination }}" \ | ||
-testPlan ${{ inputs.test_plan }} \ | ||
-enableCodeCoverage YES \ | ||
-resultBundlePath "test_output/${{ inputs.name }}.xcresult" || exit 1 | ||
else | ||
xcodebuild clean test \ | ||
-scheme ${{ inputs.scheme }} \ | ||
-destination "${{ inputs.destination }}" \ | ||
-enableCodeCoverage YES \ | ||
-resultBundlePath "test_output/${{ inputs.name }}.xcresult" || exit 1 | ||
fi |
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,34 @@ | ||
name: Upload a Test Coverage Report | ||
|
||
inputs: | ||
filename: | ||
required: true | ||
type: string | ||
scheme_name: | ||
required: true | ||
type: string | ||
token: | ||
description: 'A CodeCov Token' | ||
required: true | ||
|
||
runs: | ||
using: "composite" | ||
|
||
steps: | ||
- name: Dir | ||
shell: bash | ||
run: pwd && ls -al | ||
- name: Upload coverage reports to Codecov | ||
uses: codecov/codecov-action@v3.1.0 | ||
with: | ||
token: ${{ inputs.token }} | ||
xcode: true | ||
flags: ${{ inputs.scheme_name }} | ||
xcode_archive_path: test_output/${{ inputs.filename }}.xcresult | ||
- name: Dir | ||
shell: bash | ||
run: pwd && ls -al | ||
- uses: actions/upload-artifact@v4 | ||
with: | ||
name: ${{ inputs.filename }} | ||
path: test_output |
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
Oops, something went wrong.