Update TestViewController.swift #17
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: Run Test | |
on: | |
pull_request: | |
branches: [ develop ] | |
# workflow의 실행은 하나 이상의 job으로 구성 됨 | |
jobs: | |
# 이 workflow 는 "build" 라는 single job 으로 구성 | |
build: | |
# job이 실행될 환경 - 최신 mac os | |
runs-on: macos-latest | |
steps: | |
# uses 키워드를 통해 Github Actions에서 기본으로 제공하는 액션을 사용 가능. 아래 액션은 repository 에 체크아웃하는 것 | |
- uses: actions/checkout@v3 | |
# shell 이용해서 하나의 command 수행 | |
- name: Start xcode build 🛠 | |
run: | | |
xcodebuild clean test -project BeaMin-iOS/BeaMin-iOS.xcodeproj -scheme BeaMin-iOS -destination 'platform=iOS Simulator,name=iPhone 11 Pro,OS=latest' | |
- name: Add PR Comment | |
if: ${{ success() }} | |
uses: mshick/add-pr-comment@v1 | |
with: | |
message: | | |
## Build & Test Checked ✅ | |
| ✅ | Auto Build And Test SUCCESS !!! | | |
|--- |---------------------------------------------- | | |
repo-token: ${{ secrets.ACCESS_TOKEN }} | |
repo-token-user-login: 'github-actions[bot]' # The user.login for temporary GitHub tokens | |
allow-repeats: false # This is the default |