Adding Reference packages #12
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: 🧪 Run Tests | |
on: | |
pull_request: | |
types: [opened, synchronize, reopened] | |
jobs: | |
build: | |
runs-on: macos-14 # Apple Silicon Runner | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: n1hility/cancel-previous-runs@v3 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Select latest Xcode | |
uses: maxim-lobanov/setup-xcode@v1 | |
with: | |
xcode-version: '15.1' | |
- name: 🛠️ Run Unit Tests | |
run: | | |
xcodebuild test -scheme public-api-diff -testPlan UnitTests -destination "platform=iOS,name=Any iOS Device" | xcpretty --utf --color && exit | |
- name: 🤝 Run Integration Tests | |
run: | | |
xcodebuild test -scheme public-api-diff -testPlan IntegrationTests -destination "platform=iOS,name=Any iOS Device" | xcpretty --utf --color && exit |