Skip to content

Merge pull request #4 from StreamAMG/feature/gh-action-branch-protection #17

Merge pull request #4 from StreamAMG/feature/gh-action-branch-protection

Merge pull request #4 from StreamAMG/feature/gh-action-branch-protection #17

Workflow file for this run

# This workflow will build a Swift project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-swift
name: SPM Build and Test
on:
push:
branches: [ "feature/unit-test" ]
pull_request:
branches: [ "feature/unit-test" ]
jobs:
build:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- name: Build and run tests
run: xcodebuild test -scheme PlaybackSDK -destination 'platform=iOS Simulator,name=iPhone 13'