feat: 🎸 [HCPSDKFIORIUIKIT-3152] Remove deprecated code for ActivationScreenModel #5445
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: CI | |
| on: | |
| push: | |
| branches: [ main ] | |
| pull_request: | |
| workflow_dispatch: | |
| jobs: | |
| build: | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [macos-26] | |
| xcode: ['Xcode_26.2'] | |
| runs-on: ${{ matrix.os }} | |
| env: | |
| DEVELOPER_DIR: /Applications/${{ matrix.xcode }}.app/Contents/Developer | |
| steps: | |
| - uses: actions/checkout@v3 | |
| # Workaround for unit test hang with cache update command | |
| - name: Force Xcode Simulator dyld shared cache update | |
| run: xcrun simctl runtime dyld_shared_cache update --all | |
| - name: Build and Test | |
| run: set -o pipefail && xcodebuild -parallel-testing-enabled NO -verbose -enableCodeCoverage YES -scheme FioriSwiftUI-Package -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 17,OS=26.2' ARCHS=arm64 OTHER_SWIFT_FLAGS="-Xfrontend -solver-expression-time-threshold=500 -Xfrontend -warn-long-function-bodies=50" clean build test | xcpretty | |
| - name: Create code coverage report | |
| run: ./scripts/xccov-to-sonarqube-generic.sh /Users/runner/Library/Developer/Xcode/DerivedData/cloud-sdk-ios-fiori*/Logs/Test/*.xcresult/ > sonarqube-generic-coverage.xml | |
| - name: Store coverage for sonar job | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: coverage | |
| path: sonarqube-generic-coverage.xml | |
| sonar: | |
| needs: build | |
| if: github.event_name == 'push' && github.event.pull_request.head.repo.full_name != github.repository | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| with: | |
| fetch-depth: 0 | |
| - name: Get coverage from build job | |
| uses: actions/download-artifact@v4 | |
| with: | |
| name: coverage | |
| - name: Scan | |
| uses: sonarsource/sonarcloud-github-action@master | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| SONAR_TOKEN: ${{ secrets.SONARCLOUD_TOKEN }} | |
| build_watch: | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [macos-26] | |
| xcode: ['Xcode_26.2'] | |
| runs-on: ${{ matrix.os }} | |
| env: | |
| DEVELOPER_DIR: /Applications/${{ matrix.xcode }}.app/Contents/Developer | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Run tests on Apple Watch simulator | |
| run: set -o pipefail && make test_watch | |
| build_vision: | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [macos-26] | |
| xcode: ['Xcode_26.2'] | |
| runs-on: ${{ matrix.os }} | |
| env: | |
| DEVELOPER_DIR: /Applications/${{ matrix.xcode }}.app/Contents/Developer | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Run tests on Vision OS simulator | |
| run: set -o pipefail && make test_vision |