Skip to content

test.yml

test.yml #2

Workflow file for this run

name: iOS Tests with Coverage
on:
push:
branches:
- integrate_codecov
workflow_dispatch:
jobs:
build:
runs-on: macos-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Install Bundler
run: gem install bundler
- name: Install dependencies
run: bundle install
- name: Build and Test
run: |
swift build
swift test
- name: Generate Coverage Report
run: |
xcrun xccov view --report <derived-data-path>/Logs/Test/*.xccovreport > coverage.txt