name: "BrightFutures"

on: [push, pull_request]

jobs:
  test:
    name: Test
    runs-on: macOS-12
    env: 
      DEVELOPER_DIR: /Applications/Xcode_13.4.app/Contents/Developer

    steps:
      - uses: actions/checkout@v2
      - name: macOS
        run: xcodebuild test -project BrightFutures.xcodeproj -scheme BrightFutures-Mac
      - name: iOS
        run: xcodebuild test -project BrightFutures.xcodeproj -scheme BrightFutures-iOS -sdk iphonesimulator -destination "platform=iOS Simulator,OS=15.5,name=iPhone 13 mini"
      - name: tvOS
        run: xcodebuild test -project BrightFutures.xcodeproj -scheme BrightFutures-tvOS -sdk appletvsimulator -destination "OS=15.5,name=Apple TV 4K"
      - name: watchOS
        run: xcodebuild build -project BrightFutures.xcodeproj -scheme BrightFutures-watchOS -sdk watchsimulator
name: "BrightFutures"

on: [push, pull_request]

jobs:
  test:
    name: Test
    runs-on: macOS-12
    env: 
      DEVELOPER_DIR: /Applications/Xcode_13.4.app/Contents/Developer

    steps:
      - uses: actions/checkout@v2
      - name: macOS
        run: xcodebuild test -project BrightFutures.xcodeproj -scheme BrightFutures-Mac
      - name: iOS
        run: xcodebuild test -project BrightFutures.xcodeproj -scheme BrightFutures-iOS -sdk iphonesimulator -destination "platform=iOS Simulator,OS=15.5,name=iPhone 13 mini"
      - name: tvOS
        run: xcodebuild test -project BrightFutures.xcodeproj -scheme BrightFutures-tvOS -sdk appletvsimulator -destination "OS=15.4,name=Apple TV 4K"
      - name: watchOS
        run: xcodebuild build -project BrightFutures.xcodeproj -scheme BrightFutures-watchOS -sdk watchsimulator
Update tvOS version for CI
Update tvOS version for CI
