Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
PSchmiedmayer authored Feb 16, 2023
0 parents commit 6c18314
Show file tree
Hide file tree
Showing 32 changed files with 1,603 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
#
# This source file is part of the TemplatePackage open source project
#
# SPDX-FileCopyrightText: 2022 Stanford University and the project authors (see CONTRIBUTORS.md)
#
# SPDX-License-Identifier: MIT
#

name: Build and Test

on:
push:
branches:
- main
pull_request:
workflow_dispatch:

jobs:
build_and_test-spm:
name: Build and Test Swift Package
uses: StanfordBDHG/.github/.github/workflows/build-and-test-xcodebuild-spm.yml@v1
with:
scheme: TemplatePackage
build_and_test-uitests:
name: Build and Test UITest App
uses: StanfordBDHG/.github/.github/workflows/build-and-test-xcodebuild.yml@v1
with:
xcodeprojname: Tests/UITests/UITests.xcodeproj
scheme: TestApp
create-and-upload-coverage-report:
name: Create and Upload Coverage Report
needs: [build_and_test-spm, build_and_test-uitests]
uses: StanfordBDHG/.github/.github/workflows/create-and-upload-coverage-report.yml@v1
with:
coveragereports: TemplatePackage.xcresult TemplatePackage.xcresult
secrets:
token: ${{ secrets.CODECOV_TOKEN }}
21 changes: 21 additions & 0 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
#
# This source file is part of the TemplatePackage open source project
#
# SPDX-FileCopyrightText: 2022 Stanford University and the project authors (see CONTRIBUTORS.md)
#
# SPDX-License-Identifier: MIT
#

name: Pull Request

on:
pull_request:
workflow_dispatch:

jobs:
reuse_action:
name: REUSE Compliance Check
uses: StanfordBDHG/.github/.github/workflows/reuse.yml@v1
swiftlint:
name: SwiftLint
uses: StanfordBDHG/.github/.github/workflows/swiftlint.yml@v1
33 changes: 33 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
#
# This source file is part of the TemplatePackage open source project
#
# SPDX-FileCopyrightText: 2022 Stanford University and the project authors (see CONTRIBUTORS.md)
#
# SPDX-License-Identifier: MIT
#

# Swift Package Manager
Package.resolved
*.xcodeproj
.swiftpm
.build/
.xcodebuild/
coverage.lcov
*.xcresult

# IDE related folders
.idea

# Xcode User settings
xcuserdata/

# Other files
.DS_Store
.env

# Documentation generation
*.doccarchive
docs/

# UITests Project
!UITests.xcodeproj
14 changes: 14 additions & 0 deletions .spi.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#
# This source file is part of the TemplatePackage open source project
#
# SPDX-FileCopyrightText: 2022 Stanford University and the project authors (see CONTRIBUTORS.md)
#
# SPDX-License-Identifier: MIT
#

version: 1
builder:
configs:
- platform: ios
documentation_targets:
- TemplatePackage
Loading

0 comments on commit 6c18314

Please sign in to comment.