Skip to content

Update build-and-test.yml #514

Update build-and-test.yml

Update build-and-test.yml #514

Workflow file for this run

#
# 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: Build and Test
on:
push:
branches:
- main
pull_request:
workflow_dispatch:
jobs:
buildandtest:
name: Build and Test Swift Package
uses: ./.github/.github/workflows/xcodebuild-or-fastlane.yml

Check failure on line 21 in .github/workflows/build-and-test.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/build-and-test.yml

Invalid workflow file

invalid value workflow reference: no version specified
with:
artifactname: Spezi-Package.xcresult
runsonlabels: '["macOS", "self-hosted"]'
scheme: Spezi-Package
build:
name: Build Swift Package on Xcode 14
uses: ./.github/.github/workflows/xcodebuild-or-fastlane.yml
with:
runsonlabels: '["macos-13"]'
scheme: Spezi-Package
buildandtestuitests:
name: Build and Test UI Tests
uses: ./.github/.github/workflows/xcodebuild-or-fastlane.yml
with:
artifactname: TestApp.xcresult
runsonlabels: '["macOS", "self-hosted"]'
path: Tests/UITests
scheme: TestApp
uploadcoveragereport:
name: Upload Coverage Report
needs: [buildandtest, buildandtestuitests]
uses: StanfordSpezi/.github/.github/workflows/create-and-upload-coverage-report.yml@v2
with:
coveragereports: Spezi-Package.xcresult TestApp.xcresult