Refactored workflow #3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Tests PassGuard using CI process | |
on: | |
push: | |
branches: | |
- master | |
paths: | |
- ".github/workflows/**" | |
- "Package.swift" | |
- "PassGuard/**" | |
pull_request: | |
branches: | |
- master | |
jobs: | |
build-and-test: | |
runs-on: macos-13 | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v2 | |
- name: Select Xcode | |
run: sudo xcode-select -switch /Applications/Xcode_14.3.app | |
- name: Build & Test | |
run: xcodebuild test -scheme PassGuard -project PassGuard.xcodeproj -destination 'platform=iOS Simulator,name=iPhone 14' |