Unify password display styling #183
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: | |
| branches: [main] | |
| concurrency: | |
| group: ci-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| build-and-test: | |
| runs-on: macos-15 | |
| timeout-minutes: 30 | |
| env: | |
| SCHEME: KeeForge | |
| PROJECT: KeeForge.xcodeproj | |
| DESTINATION: 'platform=iOS Simulator,name=iPhone 17 Pro,OS=latest' | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Select Xcode | |
| run: | | |
| # Use latest available Xcode on the runner | |
| XCODE_PATH=$(ls -d /Applications/Xcode_*.app 2>/dev/null | sort -V | tail -1) | |
| echo "Using Xcode: $XCODE_PATH" | |
| sudo xcode-select -s "$XCODE_PATH" | |
| xcodebuild -version | |
| - name: Install XcodeGen | |
| run: brew install xcodegen | |
| - name: Prepare build config | |
| env: | |
| DROPBOX_APP_KEY: CI_PLACEHOLDER_DROPBOX_APP_KEY | |
| run: BOOTSTRAP_LOCAL_CONFIG_FROM_ENV=1 ./ci_scripts/prepare_build_config.sh . | |
| - name: Generate project | |
| run: xcodegen generate | |
| - name: Build | |
| run: | | |
| set -o pipefail | |
| xcodebuild build-for-testing \ | |
| -project "$PROJECT" \ | |
| -scheme "$SCHEME" \ | |
| -destination "$DESTINATION" \ | |
| -skipPackagePluginValidation \ | |
| | xcpretty | |
| - name: Run unit tests | |
| run: | | |
| set -o pipefail | |
| xcodebuild test-without-building \ | |
| -project "$PROJECT" \ | |
| -scheme "$SCHEME" \ | |
| -destination "$DESTINATION" \ | |
| -only-testing:KeeForgeTests \ | |
| | xcpretty | |
| # UI tests disabled in CI — simulator-dependent and flaky on GitHub runners | |
| # - name: Run UI tests | |
| # if: github.event_name == 'pull_request' | |
| # run: | | |
| # set -o pipefail | |
| # xcodebuild test-without-building \ | |
| # -project "$PROJECT" \ | |
| # -scheme "$SCHEME" \ | |
| # -destination "$DESTINATION" \ | |
| # -only-testing:KeeForgeUITests \ | |
| # | xcpretty |