-
-
Notifications
You must be signed in to change notification settings - Fork 154
37 lines (34 loc) · 1023 Bytes
/
pull-request.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#
# This source file is part of the Stanford HealthGPT project
#
# SPDX-FileCopyrightText: 2023 Stanford University & Project Contributors (see CONTRIBUTORS.md)
#
# SPDX-License-Identifier: MIT
#
name: Pull Request
on:
pull_request:
workflow_dispatch:
workflow_call:
jobs:
buildandtest:
name: Build and Test Application
uses: StanfordBDHG/.github/.github/workflows/xcodebuild-or-fastlane.yml@v2
with:
artifactname: HealthGPT.xcresult
fastlanelane: test
runsonlabels: '["macOS", "self-hosted"]'
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
uploadcoveragereport:
name: Upload Coverage Report
needs: buildandtest
uses: StanfordBDHG/.github/.github/workflows/create-and-upload-coverage-report.yml@v2
with:
coveragereports: HealthGPT.xcresult
secrets:
token: ${{ secrets.CODECOV_TOKEN }}