Merge pull request #37 from vespinola/vespinola-patch-1 #41
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
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 |