Project updates #475
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: Tests | |
on: [pull_request, push] | |
jobs: | |
tests: | |
name: Run tests | |
runs-on: macos-13 | |
steps: | |
- uses: actions/[email protected] | |
- uses: AckeeCZ/[email protected] | |
- name: Install yeetd | |
run: | | |
wget https://github.com/biscuitehh/yeetd/releases/download/1.0/yeetd-normal.pkg | |
sudo installer -pkg yeetd-normal.pkg -target / | |
yeetd & | |
- name: Run iOS tests | |
env: | |
DEVICE: iPhone 15 Pro Max | |
run: | | |
xcrun simctl boot "$DEVICE" | |
set -o pipefail && xcodebuild test -scheme ACKategories-iOS -resultBundlePath Tests-iOS.xcresult -sdk iphonesimulator -destination "platform=iOS Simulator,name=$DEVICE,OS=latest" ONLY_ACTIVE_ARCH=YES | xcpretty | |
- uses: actions/upload-artifact@v3 | |
if: failure() | |
with: | |
path: Tests-iOS.xcresult | |
- name: Run macOS tests | |
run: set -o pipefail && xcodebuild test -scheme ACKategoriesCore -resultBundlePath Tests-macOS.xcresult -destination 'platform=OS X,arch=x86_64' | xcpretty | |
- uses: actions/upload-artifact@v3 | |
if: failure() | |
with: | |
path: Tests-macOS.xcresult |