Initial commit
This commit is contained in:
commit
c1e7415871
56 changed files with 3225 additions and 0 deletions
37
.github/actions/test-without-building/action.yml
vendored
Normal file
37
.github/actions/test-without-building/action.yml
vendored
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
name: Test Without Building
|
||||
inputs:
|
||||
scheme:
|
||||
description: Scheme
|
||||
required: true
|
||||
destination:
|
||||
description: Destination
|
||||
required: true
|
||||
test-plan:
|
||||
description: Test Plan
|
||||
required: false
|
||||
artifact-prefix:
|
||||
description: The prefix for the filename of the uploaded xcresults file
|
||||
required: true
|
||||
check-name:
|
||||
description: The check name
|
||||
required: true
|
||||
runs:
|
||||
using: composite
|
||||
steps:
|
||||
- shell: bash
|
||||
id: vars
|
||||
run: echo "sha_short=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
|
||||
- shell: bash
|
||||
working-directory: Apple
|
||||
run: |
|
||||
xcodebuild test-without-building \
|
||||
-scheme '${{ inputs.scheme }}' \
|
||||
-destination '${{ inputs.destination }}' \
|
||||
${{ inputs.test-plan && '-testPlan ' }}${{ inputs.test-plan }} \
|
||||
-resultBundlePath "${{ inputs.artifact-prefix }}-${{ steps.vars.outputs.sha_short }}.xcresult"
|
||||
- uses: kishikawakatsumi/xcresulttool@v1
|
||||
if: always()
|
||||
with:
|
||||
path: Apple/${{ inputs.artifact-prefix }}-${{ steps.vars.outputs.sha_short }}.xcresult
|
||||
title: ${{ inputs.check-name }}
|
||||
show-passed-tests: false
|
||||
Loading…
Add table
Add a link
Reference in a new issue