Skip to content

Build and Test

Build and Test #3

#
# This source file is part of the Feedbridge based on the Stanford Spezi Template Application project
#
# SPDX-FileCopyrightText: 2025 Stanford University
#
# SPDX-License-Identifier: MIT
#
name: Build and Test
on:
pull_request:
workflow_dispatch:
workflow_call:
concurrency:
group: Build-and-Test-${{ github.ref }}
cancel-in-progress: true
jobs:
buildandtest:
name: Build and Test
uses: CS342/.github/.github/workflows/xcodebuild-or-fastlane.yml@v2
permissions:
contents: read
with:
artifactname: Feedbridge.xcresult
runsonlabels: '["macOS", "self-hosted"]'
setupfirebaseemulator: true
customcommand: "firebase emulators:exec 'fastlane test'"
uploadcoveragereport:
name: Upload Coverage Report
needs: buildandtest
uses: StanfordBDHG/.github/.github/workflows/create-and-upload-coverage-report.yml@v2
permissions:
contents: read
with:
coveragereports: Feedbridge.xcresult
secrets:
token: ${{ secrets.CODECOV_TOKEN }}