[trello.com/c/oOCxsoA5] Test Pipeline Integration #19
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
| # 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 | |