Skip to content

[ci] fix test.yaml workflow #5

[ci] fix test.yaml workflow

[ci] fix test.yaml workflow #5

Workflow file for this run

name: test.yml
on:
pull_request:
jobs:
build:
runs-on: macos-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Build and Test
run: xcodebuild -project EmpowerPlant.xcodeproj -scheme EmpowerPlant -configuration Release -derivedDataPath build -destination "platform=iOS Simulator,OS=latest,name=iPhone 14" -quiet test
- name: Generate Coverage Report
run: |
xcrun xccov view --report build/Logs/Test/*.xccovreport > coverage.txt