Move package-dependencies related code to separate SpeziLicense package #11
Workflow file for this run
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 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: | ||
packageios: | ||
name: Build and Test Swift Package iOS | ||
uses: StanfordBDHG/.github/.github/workflows/xcodebuild-or-fastlane.yml@v2 | ||
with: | ||
scheme: SpeziLicense | ||
artifactname: SpeziLicense.xcresult | ||
ios: | ||
name: Build and Test iOS | ||
uses: StanfordBDHG/.github/.github/workflows/xcodebuild-or-fastlane.yml@v2 | ||
with: | ||
path: 'Tests/UITests' | ||
scheme: TestApp | ||
artifactname: TestApp.xcresult | ||
xcargs: '-skipPackagePluginValidation' | ||
Check failure on line 32 in .github/workflows/build-and-test.yml
|
||
uploadcoveragereport: | ||
name: Upload Coverage Report | ||
needs: [packageios, ios] | ||
uses: StanfordBDHG/.github/.github/workflows/create-and-upload-coverage-report.yml@v2 | ||
with: | ||
coveragereports: SpeziLicense.xcresult TestApp.xcresult |