Skip to content

Merge pull request #1 from strvcom/experimental/codex-5.3-high-vanill… #1

Merge pull request #1 from strvcom/experimental/codex-5.3-high-vanill…

Merge pull request #1 from strvcom/experimental/codex-5.3-high-vanill… #1

### Post Merge Integrations workflow ###
#
# Runs Danger checks, Swiftlint and tests.
#
# github.token - is automatically assigned to your workflow by Github
#
# Note: To enable Fastlane tests, make sure that `CommonFastfile` is imported in Fastfile from the shared ios-fastlane repository.
#
name: Integrations (Merge to master)
# Trigger when merged to master (and can be triggered manually)
on:
workflow_dispatch:
push:
branches:
- master
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
integrations:
# runs-on: macos-latest # use this for repos outside of the STRV Github org
runs-on: [self-hosted, macOS, mobile-ci]
timeout-minutes: 20
steps:
# checkout the project repository
- name: Checkout
uses: actions/checkout@v4
- name: Install Mise
uses: jdx/mise-action@v2
with:
install: true
cache: false # change to true when running on macos-latest instead of self-hosted
experimental: true
# uncomment Dependencies cache step when running on macos-latest
# - name: Dependencies cache
# uses: actions/cache@v2
# id: dependencies_cache
# with:
# path: |
# vendor
# key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }}
# restore-keys: |
# ${{ runner.os }}-gems-
# install dependencies
- name: Install Dependencies
run: |
./setup.swift install
working-directory: iOS
# uncomment if you are using SwiftLint via SPM plugin
# Set SwiftLint version for Danger
# - name: Set SwiftLint version
# run: echo "SWIFTLINT_VERSION=$(cat ./.swiftlint-version)" >> $GITHUB_ENV
# run Danger
- name: Run Danger
run: |
bundle exec danger --fail-on-errors=true
working-directory: iOS
env:
GITHUB_TOKEN: ${{ github.token }}
# run tests (SnapshotTestPlan + UITestPlan after merge)
- name: Run tests
run: bundle exec fastlane tests without_dependencies:true
working-directory: iOS
env:
WORKSPACE: ChemexTimer.xcworkspace
TEST_PLAN: UITestPlan
TEST_SCHEME: ChemexTimer
DEVICES: "iPhone 13 Pro"