Skip to content

Add UIEnviroment property wrapper (#17) #62

Add UIEnviroment property wrapper (#17)

Add UIEnviroment property wrapper (#17) #62

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: Unit Test
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
unittest:
runs-on: macos-14
steps:
- uses: actions/checkout@v4
- name: Install Dependencies
run: swift package resolve
- name: Pick xcode 15.1
run: sudo xcode-select -s '/Applications/Xcode_15.1.app/Contents/Developer'
- name: Run Tests on MacOS
run: |
swift build -v
swift test -v
- name: Run Tests on iPhone 14 Simulator (iOS 16.0)
run: |
xcodebuild test \
-scheme 'SwiftEnvironment' \
-destination 'platform=iOS Simulator,name=iPhone 14,OS=16.0'