Ios 5068 release to main #5232
Workflow file for this run
This file contains hidden or 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 | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| on: | |
| pull_request: | |
| workflow_dispatch: | |
| jobs: | |
| unit-tests: | |
| name: Run Unit Tests | |
| runs-on: macos-26 | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v3 | |
| - name: Xcode Cache | |
| uses: irgaly/xcode-cache@v1 | |
| with: | |
| key: xcode-cache-deriveddata-${{ github.sha }} | |
| restore-keys: xcode-cache-deriveddata- | |
| swiftpm-cache-key: spm-soucepackages-${{ hashFiles('Anytype.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved') }} | |
| swiftpm-cache-restore-keys: spm-soucepackages- | |
| cache-read-only: true | |
| - name: Prepare deps | |
| uses: ./.github/actions/prepare-deps | |
| - name: Setup Xcode | |
| uses: maxim-lobanov/[email protected] | |
| with: | |
| xcode-version: '26.1' | |
| - name: Download Middleware | |
| run: make setup-middle-ci | |
| env: | |
| MIDDLEWARE_TOKEN: ${{ secrets.MIDDLEWARE_TOKEN }} | |
| - name: Run unit tests | |
| run: bundle exec fastlane tests skip_notify:true | |
| env: | |
| FASTLANE_XCODEBUILD_SETTINGS_TIMEOUT: 900 | |
| FASTLANE_XCODE_LIST_TIMEOUT: 900 |