Skip to content

Update README.md

Update README.md #99

Workflow file for this run

# GitHub Actions Virtual Environments
# https://github.com/actions/virtual-environments/
name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
env:
PROJECT: ReactiveCollectionsKit.xcodeproj
SCHEME: ReactiveCollectionsKit
EXAMPLE_PROJECT: Example/ExampleApp.xcodeproj
EXAMPLE_SCHEME: ExampleApp
DEVELOPER_DIR: /Applications/Xcode_15.2.app/Contents/Developer
IOS_DEST: "platform=iOS Simulator,name=iPhone 15,OS=latest"
jobs:
env-details:
name: Environment details
runs-on: macos-13
steps:
- name: xcode version
run: xcodebuild -version -sdk
- name: list simulators
run: |
xcrun simctl delete unavailable
xcrun simctl list
test-iOS:
name: iOS unit test
runs-on: macOS-13
steps:
- name: git checkout
uses: actions/checkout@v4
- name: unit tests
run: |
set -o pipefail
xcodebuild clean test \
-project "$PROJECT" \
-scheme "$SCHEME" \
-destination "$IOS_DEST" \
CODE_SIGN_IDENTITY="-" | xcpretty -c
ui-test-iOS:
name: iOS UI tests
runs-on: macos-13
steps:
- name: git checkout
uses: actions/checkout@v4
- name: ui tests
run: |
set -o pipefail
xcodebuild clean test \
-project "$EXAMPLE_PROJECT" \
-scheme "$EXAMPLE_SCHEME" \
-destination "$IOS_DEST" \
CODE_SIGN_IDENTITY="-" | xcpretty -c