Skip to content

[trello.com/c/oOCxsoA5] Test Pipeline Integration #19

[trello.com/c/oOCxsoA5] Test Pipeline Integration

[trello.com/c/oOCxsoA5] Test Pipeline Integration #19

Workflow file for this run

# This workflow will build a Swift project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-swift
name: run tests
on:
workflow_call:
push:
branches: [ "develop" ]
pull_request:
branches: [ "develop" ]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.ref_type != 'tag' }}
jobs:
run_tests:
runs-on: macos-15
steps:
- name: Set Xcode 16.2.0
run: sudo xcode-select -s /Applications/Xcode_16.2.0.app/Contents/Developer
- name: Print Current Xcode
run: xcode-select -p
- uses: actions/checkout@v3
- name: Build adamant-cli
run: make configure
- name: Generate mocks for tests
run: |
./scripts/AdamantCLI/adamant-cli mocks
- name: Run tests
run: xcodebuild test -workspace Adamant.xcworkspace -scheme Adamant.Dev -destination 'platform=iOS Simulator,name=iPhone 16' | xcbeautify