[github-action] Change to build and test-without-building
This commit is contained in:
parent
a22e8416af
commit
684efe0ccd
|
@ -138,13 +138,14 @@ jobs:
|
||||||
rm -rf ~/Library/Developer/Xcode/DerivedData/
|
rm -rf ~/Library/Developer/Xcode/DerivedData/
|
||||||
mkdir DerivedData
|
mkdir DerivedData
|
||||||
|
|
||||||
- if: ${{ matrix.platform }} == 'visionOS'
|
- if: ${{ matrix.platform }} == visionOS
|
||||||
run: xcrun simctl boot "Apple Vision Pro"
|
run: xcrun simctl boot "Apple Vision Pro"
|
||||||
|
|
||||||
- name: Run test
|
- name: Run test
|
||||||
run: |
|
run: |
|
||||||
set -o pipefail
|
set -o pipefail
|
||||||
xcodebuild test -workspace "${{ env.WORKSPACE_NAME }}" -scheme "Tests ${{ matrix.scheme }}" -destination "${{ matrix.destination }}" -configuration Debug CODE_SIGNING_ALLOWED=NO
|
xcodebuild build-for-testing -workspace "${{ env.WORKSPACE_NAME }}" -scheme "Tests ${{ matrix.scheme }}" -destination "${{ matrix.destination }}" -configuration Debug CODE_SIGNING_ALLOWED=NO | xcpretty -c
|
||||||
|
xcodebuild test-without-building -workspace "${{ env.WORKSPACE_NAME }}" -scheme "Tests ${{ matrix.scheme }}" -destination "${{ matrix.destination }}" -configuration Debug CODE_SIGNING_ALLOWED=NO
|
||||||
mv ~/Library/Developer/Xcode/DerivedData/ "./DerivedData/${{ matrix.platform }}"
|
mv ~/Library/Developer/Xcode/DerivedData/ "./DerivedData/${{ matrix.platform }}"
|
||||||
|
|
||||||
- name: Code Coverage
|
- name: Code Coverage
|
||||||
|
|
Loading…
Reference in New Issue