[UI] Ignore randomization of all start poses except 4x4 #25
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: Build & Test | |
| on: | |
| push: | |
| branches: [ "main" ] | |
| pull_request: | |
| branches: [ "main" ] | |
| concurrency: | |
| group: ci-${{ github.ref }} | |
| cancel-in-progress: true | |
| permissions: | |
| contents: read | |
| jobs: | |
| test: | |
| name: Test - ${{ matrix.platform }} | |
| runs-on: ${{ matrix.os }} | |
| timeout-minutes: 15 | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| include: | |
| - os: windows-latest | |
| platform: Windows | |
| - os: macos-latest | |
| platform: macOS | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Validate Gradle wrapper | |
| uses: gradle/actions/wrapper-validation@v4 | |
| - name: Setup JDK 21 | |
| uses: actions/setup-java@v4 | |
| with: | |
| java-version: '21' | |
| distribution: 'temurin' | |
| - name: Setup Gradle | |
| uses: gradle/actions/setup-gradle@v4 | |
| with: | |
| cache-read-only: ${{ github.ref != 'refs/heads/main' }} | |
| add-job-summary: on-failure | |
| - name: Execute Library tests | |
| shell: bash | |
| run: ./gradlew :library:jvmTest --no-daemon --stacktrace | |
| - name: Compile Cli | |
| shell: bash | |
| run: ./gradlew :cli:compileKotlin --no-daemon --stacktrace | |
| - name: Execute App Desktop tests | |
| shell: bash | |
| run: ./gradlew :composeApp:desktopTest --no-daemon --stacktrace | |
| - name: Compile App WasmJS | |
| shell: bash | |
| run: ./gradlew :composeApp:compileKotlinWasmJs --no-daemon --stacktrace | |
| - name: Compile App Android | |
| shell: bash | |
| run: ./gradlew :composeApp:compileDebugKotlinAndroid --no-daemon --stacktrace | |
| - name: Compile App Native | |
| shell: bash | |
| if: runner.os == 'macOS' # It makes sense only on macOS, disable on other platforms to save resources | |
| run: ./gradlew :composeApp:compileIosMainKotlinMetadata --no-daemon --stacktrace | |
| - name: Publish test report | |
| if: always() | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: test-report-${{ matrix.platform }} | |
| path: | | |
| library/build/test-results/jvmTest/ | |
| library/build/reports/tests/jvmTest/ | |
| composeApp/build/test-results/desktopTest/ | |
| composeApp/build/reports/tests/desktopTest/ | |
| retention-days: 3 | |
| if-no-files-found: ignore |