Prevent get error when first time send request while didn't get netwo… #243
Workflow file for this run
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: CI | |
on: [push, pull_request] | |
jobs: | |
test_lint: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup | |
run: ./Scripts/setup.sh | |
env: | |
APP_IDENTIFIER: org.blackcandy | |
- name: Test and Lint | |
run: | | |
swiftlint | |
set -o pipefail && xcodebuild test -scheme "BlackCandy" -destination platform="iOS Simulator,name=iPhone 14 Pro Max,OS=16.2" | xcpretty --test |