Update README.md 💡 #67
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: Build iOS | |
on: | |
push: | |
branches: | |
- '*' | |
jobs: | |
build: | |
name: Build iOS | |
runs-on: macos-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Build Framework | |
run: | | |
set -o pipefail && xcodebuild -project TabBarUIAction.xcodeproj -scheme "TabBarUIAction" clean build CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO -destination "platform=iOS Simulator,name=iPhone 12,OS=latest" | xcpretty | |
- name: Build Demo | |
run: | | |
set -o pipefail && xcodebuild -project TabBarUIAction.xcodeproj -scheme "TabBarUIAction Demo" clean build CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO -destination "platform=iOS Simulator,name=iPhone 12,OS=latest" | xcpretty | |
- name: Test | |
run: | | |
set -o pipefail && xcodebuild -project TabBarUIAction.xcodeproj -scheme "TabBarUIAction UITests" clean test -testPlan AllFeatures CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO -destination 'platform=iOS Simulator,name=iPhone 12,OS=latest' | xcpretty | |
- name: Upload coverage to Codecov | |
uses: codecov/codecov-action@v1 |