switch to Swift concurrency for waitUntil #163
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: Unit Tests | |
on: | |
push: | |
paths-ignore: | |
- '*.md' | |
concurrency: | |
group: ${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
prepare-dependencies: | |
name: Unit Tests | |
runs-on: macos-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install HomeBrew Packages | |
run: brew bundle check || brew bundle install --no-lock | |
shell: bash | |
env: | |
HOMEBREW_NO_AUTO_UPDATE: 1 | |
- name: Prepare Ruby dependencies | |
run: | | |
bundle install | |
- uses: maxim-lobanov/setup-xcode@v1 | |
with: | |
xcode-version: '15.4' | |
- name: Install CocoaPods depenedencies | |
run: | | |
cd Example && bundle exec pod install | |
- name: Run Unit Tests iOS | |
timeout-minutes: 10 | |
run: | | |
bundle exec fastlane unit_test | |
- name: Sanity build tvOS | |
if: success() || failure() | |
run: | | |
bundle exec fastlane build_tvos |