Skip to content

Commit

Permalink
Merge remote-tracking branch 'refs/remotes/origin/env/cicd'
Browse files Browse the repository at this point in the history
  • Loading branch information
HiHoi committed Mar 25, 2024
2 parents 4e5e440 + 5be5ae5 commit 8face5f
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions .github/workflows/Test_Build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ jobs:
runs-on: macos-14
steps:
- uses: actions/checkout@v3
- uses: szenius/[email protected]
with:
timezoneWindows: "Singapore Standard Time"

- name: Install pods
run: |
Expand All @@ -34,15 +37,14 @@ jobs:

- name: Run Test
run: |
xcodebuild build clean \
-workspace ./HANE24.xcworkspace \
xcodebuild -workspace ./HANE24.xcworkspace \
-scheme 24HANE \
-destination 'platform=iOS Simulator,name=iPhone 14 Pro' \
CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO ONLY_ACTIVE_ARCH=YES test | xcpretty -c; echo "::set-output name=result::${PIPESTATUS[0]}"; echo "${PIPESTATUS[0]}"
-resultBundlePath TestResults test
- name: Check Test Result
if: steps.logger_tests.outputs.result != 0
run: |
echo "Tests Failed"; exit 1
- uses: kishikawakatsumi/xcresulttool@v1
with:
path: TestResults.xcresult
if: success() || failure()


0 comments on commit 8face5f

Please sign in to comment.