Skip to content

Fix run tests time #471

Fix run tests time

Fix run tests time #471

name: SwiftLint & UnitTests
on:
push:
branches:
- develop
- mission/*
pull_request:
types:
- opened
- reopened
- synchronize
jobs:
SwiftLint:
runs-on: ubuntu-latest
container:
image: ghcr.io/realm/swiftlint:latest
steps:
- uses: actions/checkout@v5
- run: swiftlint --config .swiftlint.yml --reporter github-actions-logging --strict
build:
runs-on: macos-26
timeout-minutes: 20
steps:
- uses: actions/checkout@v5
- uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: latest-stable
- name: Update bundler
run: gem install bundler
- name: Install bundler dependencies
run: bundle install
- name: Setup Java 17
uses: actions/setup-java@v5
with:
distribution: 'temurin'
java-version: '17'
- name: Checkout kmp-common-sdk (local path dependency)
run: |
git clone --depth 1 https://github.com/mindbox-cloud/kmp-common-sdk.git ../kmp-common-sdk
- name: Build MindboxCommon XCFramework from kmp-common-sdk
working-directory: ../kmp-common-sdk
run: |
chmod +x make-ios-framework.sh
./make-ios-framework.sh
- 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 unit tests
run: bundle exec fastlane unitTestLane