[ci] fix test.yaml workflow #11
Workflow file for this run
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: test.yml | |
on: | |
pull_request: | |
jobs: | |
build: | |
runs-on: macos-14 | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Install Slather | |
run: gem install slather | |
- name: Build and Test | |
run: xcodebuild -project EmpowerPlant.xcodeproj -scheme EmpowerPlant -configuration Debug -destination "platform=iOS Simulator,OS=latest,name=iPhone 15" -quiet test | slather coverage --configuration Debug && exit ${PIPESTATUS[0]} | |
- name: Upload coverage reports to Codecov | |
uses: codecov/codecov-action@v4 |