Add LLM functionality from SpeziFHIR #233
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
# | |
# This source file is part of the Stanford LLM on FHIR project | |
# | |
# SPDX-FileCopyrightText: 2023 Stanford University | |
# | |
# SPDX-License-Identifier: MIT | |
# | |
name: Build and Test | |
on: | |
pull_request: | |
workflow_dispatch: | |
workflow_call: | |
jobs: | |
reuse_action: | |
name: REUSE Compliance Check | |
uses: StanfordBDHG/.github/.github/workflows/reuse.yml@v2 | |
swiftlint: | |
name: SwiftLint | |
uses: StanfordBDHG/.github/.github/workflows/swiftlint.yml@v2 | |
codeql: | |
name: CodeQL | |
uses: StanfordBDHG/.github/.github/workflows/xcodebuild-or-fastlane.yml@v2 | |
with: | |
codeql: true | |
fastlanelane: codeql | |
permissions: | |
security-events: write | |
actions: read | |
buildandtest: | |
name: Build and Test | |
uses: StanfordBDHG/.github/.github/workflows/xcodebuild-or-fastlane.yml@v2 | |
with: | |
artifactname: LLMonFHIR.xcresult | |
runsonlabels: '["macOS", "self-hosted"]' | |
fastlanelane: test | |
uploadcoveragereport: | |
name: Upload Coverage Report | |
needs: buildandtest | |
uses: StanfordBDHG/.github/.github/workflows/create-and-upload-coverage-report.yml@v2 | |
with: | |
coveragereports: LLMonFHIR.xcresult | |
secrets: | |
token: ${{ secrets.CODECOV_TOKEN }} |