Fix: Set BikeRegistration.no_duplicate to true by default #415
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: iOS Test Suite | |
| permissions: | |
| contents: read | |
| on: | |
| push: | |
| branches: [ "main" ] | |
| pull_request: | |
| jobs: | |
| tests_iphone16: | |
| name: Run iPhone 16 test suite with fastlane | |
| runs-on: macos-15 | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| with: | |
| ref: ${{ github.ref }} | |
| - name: Print git checkout status | |
| run: | | |
| git rev-parse --abbrev-ref HEAD | |
| git rev-parse HEAD | |
| echo plain ref ${{ github.ref }} | |
| echo trigger sha ${{ github.sha }} | |
| echo ref name ${{ github.ref_name }} | |
| echo protected ${{ github.ref_protected }} | |
| echo base ref ${{ github.base_ref }} | |
| echo head ref ${{ github.head_ref }} | |
| echo event ${{ github.event }} | |
| echo workflow_ref ${{ github.workflow_ref }} | |
| echo workflow_sha ${{ github.workflow_sha }} | |
| - name: Set Xcode 26.0 | |
| run: sudo xcode-select -s /Applications/Xcode_26.0.app | |
| - name: Install tools | |
| run: brew bundle install | |
| - name: Set up xcconfig secrets (see README.md#quick-start) | |
| env: | |
| BIKE_INDEX_DEVELOPMENT_XCCONFIG: ${{ secrets.BIKE_INDEX_DEVELOPMENT_XCCONFIG }} | |
| run: | | |
| echo "$BIKE_INDEX_DEVELOPMENT_XCCONFIG" >> BikeIndex-development.xcconfig | |
| - name: Set up xcconfig UI test credentials (see README.md#UI-Test-configuration) | |
| env: | |
| BIKE_INDEX_TEST_CREDENTIALS: ${{ secrets.BIKE_INDEX_TEST_CREDENTIALS }} | |
| run: | | |
| echo "$BIKE_INDEX_TEST_CREDENTIALS" >> Test-credentials.xcconfig | |
| - name: List available simulators | |
| run: xcodebuild -scheme Debug\ \(development\) -project BikeIndex.xcodeproj -showdestinations | |
| - name: Run tests | |
| id: fastlane-ios-tests | |
| run: fastlane ios tests_iphone16 | |
| - uses: actions/upload-artifact@v4 | |
| if: always() | |
| with: | |
| name: test_output_iphone16 | |
| path: "fastlane/test_output/*" | |
| compression-level: 9 # maximum compression | |
| tests_iphone16plus: | |
| name: Run iPhone 16 Plus test suite with fastlane | |
| runs-on: macos-15 | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| with: | |
| ref: ${{ github.ref }} | |
| - name: Print git checkout status | |
| run: | | |
| git rev-parse --abbrev-ref HEAD | |
| git rev-parse HEAD | |
| echo plain ref ${{ github.ref }} | |
| echo trigger sha ${{ github.sha }} | |
| echo ref name ${{ github.ref_name }} | |
| echo protected ${{ github.ref_protected }} | |
| echo base ref ${{ github.base_ref }} | |
| echo head ref ${{ github.head_ref }} | |
| echo event ${{ github.event }} | |
| echo workflow_ref ${{ github.workflow_ref }} | |
| echo workflow_sha ${{ github.workflow_sha }} | |
| - name: Set Xcode 26.0 | |
| run: sudo xcode-select -s /Applications/Xcode_26.0.app | |
| - name: Install tools | |
| run: brew bundle install | |
| - name: Set up xcconfig secrets (see README.md#quick-start) | |
| env: | |
| BIKE_INDEX_DEVELOPMENT_XCCONFIG: ${{ secrets.BIKE_INDEX_DEVELOPMENT_XCCONFIG }} | |
| run: | | |
| echo "$BIKE_INDEX_DEVELOPMENT_XCCONFIG" >> BikeIndex-development.xcconfig | |
| - name: Set up xcconfig UI test credentials (see README.md#UI-Test-configuration) | |
| env: | |
| BIKE_INDEX_TEST_CREDENTIALS: ${{ secrets.BIKE_INDEX_TEST_CREDENTIALS }} | |
| run: | | |
| echo "$BIKE_INDEX_TEST_CREDENTIALS" >> Test-credentials.xcconfig | |
| - name: List available simulators | |
| run: xcodebuild -scheme Debug\ \(development\) -project BikeIndex.xcodeproj -showdestinations | |
| - name: Run tests | |
| id: fastlane-ios-tests | |
| run: fastlane ios tests_iphone16plus | |
| - uses: actions/upload-artifact@v4 | |
| if: always() | |
| with: | |
| name: test_output_iphone16plus | |
| path: "fastlane/test_output/*" | |
| compression-level: 9 # maximum compression | |
| tests_ipad: | |
| name: Run iPad (10th generation) test suite with fastlane | |
| runs-on: macos-15 | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| with: | |
| ref: ${{ github.ref }} | |
| - name: Print git checkout status | |
| run: | | |
| git rev-parse --abbrev-ref HEAD | |
| git rev-parse HEAD | |
| echo plain ref ${{ github.ref }} | |
| echo trigger sha ${{ github.sha }} | |
| echo ref name ${{ github.ref_name }} | |
| echo protected ${{ github.ref_protected }} | |
| echo base ref ${{ github.base_ref }} | |
| echo head ref ${{ github.head_ref }} | |
| echo event ${{ github.event }} | |
| echo workflow_ref ${{ github.workflow_ref }} | |
| echo workflow_sha ${{ github.workflow_sha }} | |
| - name: Set Xcode 26.0 | |
| run: sudo xcode-select -s /Applications/Xcode_26.0.app | |
| - name: Install tools | |
| run: brew bundle install | |
| - name: Set up xcconfig secrets (see README.md#quick-start) | |
| env: | |
| BIKE_INDEX_DEVELOPMENT_XCCONFIG: ${{ secrets.BIKE_INDEX_DEVELOPMENT_XCCONFIG }} | |
| run: | | |
| echo "$BIKE_INDEX_DEVELOPMENT_XCCONFIG" >> BikeIndex-development.xcconfig | |
| - name: Set up xcconfig UI test credentials (see README.md#UI-Test-configuration) | |
| env: | |
| BIKE_INDEX_TEST_CREDENTIALS: ${{ secrets.BIKE_INDEX_TEST_CREDENTIALS }} | |
| run: | | |
| echo "$BIKE_INDEX_TEST_CREDENTIALS" >> Test-credentials.xcconfig | |
| - name: List available simulators | |
| run: xcodebuild -scheme Debug\ \(development\) -project BikeIndex.xcodeproj -showdestinations | |
| - name: Run tests | |
| id: fastlane-ios-tests | |
| run: fastlane ios tests_ipad | |
| - uses: actions/upload-artifact@v4 | |
| if: always() | |
| with: | |
| name: test_output_ipad | |
| path: "fastlane/test_output/*" | |
| compression-level: 9 # maximum compression |