27 lines
586 B
YAML
27 lines
586 B
YAML
name: iOS Tests
|
|
|
|
on:
|
|
push:
|
|
branches: [ main ]
|
|
pull_request:
|
|
branches: [ main ]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: macos-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
|
|
- name: Select Xcode
|
|
run: sudo xcode-select -switch /Applications/Xcode.app
|
|
|
|
- name: Build and Test
|
|
run: |
|
|
xcodebuild test \
|
|
-project Coinly.xcodeproj \
|
|
-scheme Coinly \
|
|
-destination 'platform=iOS Simulator,name=iPhone 14,OS=latest' \
|
|
-enableCodeCoverage YES \
|
|
CODE_SIGN_IDENTITY="" \
|
|
CODE_SIGNING_REQUIRED=NO
|