[] Apply changes from bitrise-step-select-tests/XcodeSelectiveTesting #2
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: Test | |
| on: | |
| push: | |
| branches: [ "main" ] | |
| pull_request: | |
| types: [opened, reopened, synchronize] | |
| jobs: | |
| test-16-2: | |
| runs-on: macos-latest | |
| steps: | |
| - name: Set Xcode version | |
| run: sudo xcode-select -s /Applications/Xcode_16.2.app | |
| - uses: actions/checkout@v3 | |
| - name: Run tests | |
| run: swift test -v | |
| test-26: | |
| runs-on: macos-26 | |
| steps: | |
| - name: Set Xcode version | |
| run: sudo xcode-select -s /Applications/Xcode_26.0.app | |
| - uses: actions/checkout@v3 | |
| - name: Run tests | |
| run: swift test -v | |
| test-linux-6-1: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - uses: SwiftyLab/setup-swift@latest | |
| with: | |
| swift-version: "6.1.0" | |
| - name: Get swift version | |
| run: swift --version | |
| - name: Prepare Git | |
| run: git config --global user.email "test@example.com" && git config --global user.name "Test User" | |
| - name: Run tests | |
| run: swift test -v | |
| test-linux-6-2: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - uses: SwiftyLab/setup-swift@latest | |
| with: | |
| swift-version: "6.2.0" | |
| - name: Get swift version | |
| run: swift --version | |
| - name: Prepare Git | |
| run: git config --global user.email "test@example.com" && git config --global user.name "Test User" | |
| - name: Run tests | |
| run: swift test -v |