Skip to content

13 add yml for UI testing #29

13 add yml for UI testing

13 add yml for UI testing #29

Workflow file for this run

name: CI
on:
push:
branches:
- main
- develop
- "feature/*"
pull_request:
branches:
- main
- develop
- "feature/*"
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
runs-on: macos-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Run unit tests
run: |
xcodebuild test \
-scheme mobile-courier-appTests \
-destination 'platform=iOS Simulator,name=iPhone 14,OS=16.2' \
-enableCodeCoverage YES | xcpretty
- name: Upload test results
if: always()
uses: actions/upload-artifact@v3
with:
name: xcode-test-results
path: DerivedData/**/Logs/Test/*.xcresult