generated from StanfordSpezi/SpeziTemplateApplication
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 3a94a33
Showing
168 changed files
with
6,871 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"projects": { | ||
"default": "stanfordspezitemplateapp" | ||
} | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
This source file is part of the Stanford Spezi Template Application open-source project | ||
|
||
SPDX-FileCopyrightText: 2022 Stanford University and the project authors (see CONTRIBUTORS.md) | ||
|
||
SPDX-License-Identifier: MIT |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
# | ||
# This source file is part of the Stanford Spezi Template Application open-source project | ||
# | ||
# SPDX-FileCopyrightText: 2023 Stanford University | ||
# | ||
# SPDX-License-Identifier: MIT | ||
# | ||
|
||
name: Beta Deployment | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
workflow_dispatch: | ||
|
||
concurrency: | ||
group: Beta-Deployment | ||
cancel-in-progress: false | ||
|
||
jobs: | ||
buildandtest: | ||
name: Build and Test | ||
uses: ./.github/workflows/build-and-test.yml | ||
permissions: | ||
contents: read | ||
secrets: inherit | ||
staticanaylsis: | ||
name: Static Analysis | ||
uses: ./.github/workflows/static-analysis.yml | ||
permissions: | ||
security-events: write | ||
actions: read | ||
contents: read | ||
secrets: inherit | ||
iosapptestflightdeployment: | ||
name: iOS App TestFlight Deployment | ||
needs: buildandtest | ||
uses: StanfordSpezi/.github/.github/workflows/xcodebuild-or-fastlane.yml@v2 | ||
permissions: | ||
contents: read | ||
with: | ||
googleserviceinfoplistpath: 'TemplateApplication/Supporting Files/GoogleService-Info.plist' | ||
setupsigning: true | ||
fastlanelane: beta | ||
secrets: inherit | ||
deployfirebase: | ||
name: Deploy Firebase Project | ||
needs: iosapptestflightdeployment | ||
uses: StanfordBDHG/.github/.github/workflows/firebase-deploy.yml@v2 | ||
permissions: | ||
contents: read | ||
with: | ||
arguments: '--debug' | ||
secrets: | ||
GOOGLE_APPLICATION_CREDENTIALS_BASE64: ${{ secrets.GOOGLE_APPLICATION_CREDENTIALS_BASE64 }} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
# | ||
# This source file is part of the Stanford Spezi Template Application open-source project | ||
# | ||
# SPDX-FileCopyrightText: 2023 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: StanfordSpezi/.github/.github/workflows/xcodebuild-or-fastlane.yml@v2 | ||
permissions: | ||
contents: read | ||
with: | ||
artifactname: TemplateApplication.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: TemplateApplication.xcresult | ||
secrets: | ||
token: ${{ secrets.CODECOV_TOKEN }} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# | ||
# This source file is part of the Stanford Spezi Template Application open-source project | ||
# | ||
# SPDX-FileCopyrightText: 2023 Stanford University and the project authors (see CONTRIBUTORS.md) | ||
# | ||
# SPDX-License-Identifier: MIT | ||
# | ||
|
||
name: Documentation Deployment | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
workflow_dispatch: | ||
|
||
concurrency: | ||
group: Documentation-Deployment-${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
docs: | ||
name: Documentation Deployment | ||
uses: StanfordBDHG/.github/.github/workflows/docc-github-pages.yml@v2 | ||
permissions: | ||
contents: read | ||
pages: write | ||
id-token: write | ||
with: | ||
scheme: 'TemplateApplication' | ||
dryrun: ${{ github.ref != 'main' }} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# | ||
# This source file is part of the Stanford Spezi Template Application open-source project | ||
# | ||
# SPDX-FileCopyrightText: 2023 Stanford University and the project authors (see CONTRIBUTORS.md) | ||
# | ||
# SPDX-License-Identifier: MIT | ||
# | ||
|
||
name: Monthly Markdown Link Check | ||
|
||
on: | ||
# Runs at midnight on the first of every month | ||
schedule: | ||
- cron: "0 0 1 * *" | ||
|
||
jobs: | ||
markdown_link_check: | ||
name: Markdown Link Check | ||
uses: StanfordBDHG/.github/.github/workflows/markdown-link-check.yml@v2 | ||
permissions: | ||
contents: read |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
# | ||
# This source file is part of the Stanford Spezi open source project | ||
# | ||
# SPDX-FileCopyrightText: 2022 Stanford University and the project authors (see CONTRIBUTORS.md) | ||
# | ||
# SPDX-License-Identifier: MIT | ||
# | ||
|
||
name: Static Analysis | ||
|
||
on: | ||
pull_request: | ||
workflow_dispatch: | ||
workflow_call: | ||
|
||
concurrency: | ||
group: Static-Analysis-${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
reuse_action: | ||
name: REUSE Compliance Check | ||
uses: StanfordBDHG/.github/.github/workflows/reuse.yml@v2 | ||
permissions: | ||
contents: read | ||
swiftlint: | ||
name: SwiftLint | ||
uses: StanfordBDHG/.github/.github/workflows/swiftlint.yml@v2 | ||
permissions: | ||
contents: read | ||
periphery: | ||
name: Periphery | ||
uses: StanfordSpezi/.github/.github/workflows/periphery.yml@v2 | ||
permissions: | ||
contents: read | ||
with: | ||
runsonlabels: '["macOS", "self-hosted"]' | ||
markdownlinkcheck: | ||
name: Markdown Link Check | ||
uses: StanfordBDHG/.github/.github/workflows/markdown-link-check.yml@v2 | ||
permissions: | ||
contents: read | ||
codeql: | ||
name: CodeQL | ||
uses: StanfordSpezi/.github/.github/workflows/xcodebuild-or-fastlane.yml@v2 | ||
permissions: | ||
security-events: write | ||
actions: read | ||
contents: read | ||
with: | ||
codeql: true | ||
fastlanelane: codeql |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
# | ||
# This source file is part of the Stanford Spezi Template Application open-source project | ||
# | ||
# SPDX-FileCopyrightText: 2023 Stanford University | ||
# | ||
# SPDX-License-Identifier: MIT | ||
# | ||
|
||
# Swift Package Manager | ||
*.xcodeproj | ||
.swiftpm | ||
.derivedData | ||
.build | ||
.docs | ||
!TemplateApplication.xcodeproj | ||
|
||
# IDE related folders | ||
.idea | ||
|
||
# Xcode | ||
xcuserdata/ | ||
*.ipa | ||
*.dSYM | ||
*.dSYM.zip | ||
|
||
# Other files | ||
.DS_Store | ||
.env | ||
|
||
# Tests | ||
report.junit | ||
report.html | ||
TemplateApplication.xcresult | ||
|
||
# Logs | ||
logs | ||
*.log | ||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
firebase-debug.log* | ||
firebase-debug.*.log* | ||
|
||
# Firebase cache | ||
.firebase/ | ||
|
||
# Swift Package List | ||
TemplateApplication/package-list.json |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# | ||
# This source file is part of the Stanford Spezi Template Application open-source project | ||
# | ||
# SPDX-FileCopyrightText: 2023 Stanford University | ||
# | ||
# SPDX-License-Identifier: MIT | ||
# | ||
|
||
project: TemplateApplication.xcodeproj | ||
schemes: | ||
- TemplateApplication | ||
targets: | ||
- TemplateApplication | ||
- TemplateApplicationTests | ||
- TemplateApplicationUITests |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ | ||
|
||
Files: TemplateApplication.xcodeproj/* | ||
Copyright: 2024 Stanford University and the project authors (see CONTRIBUTORS.md) | ||
License: MIT | ||
Comment: All Xcode Project Configuration Files are part of the Stanford Spezi Template Application open-source project. |
Oops, something went wrong.