Update dependency org.jetbrains.compose to v1.9.3 - autoclosed #16
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: Compose UI Tests | |
| # This workflow runs the Compose Multiplatform UI tests in commonTest | |
| # These tests can run on multiple platforms and use the multiplatform UI testing framework | |
| on: | |
| pull_request: | |
| push: | |
| branches: [ main, master ] | |
| # Cancel any current or previous job from the same PR | |
| concurrency: | |
| group: compose-ui-tests-${{ github.head_ref || github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| compose-ui-tests: | |
| name: Compose UI Tests (JVM) | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v5 | |
| - name: Set up JDK 17 | |
| uses: actions/setup-java@v5 | |
| with: | |
| distribution: 'zulu' | |
| java-version: 17 | |
| cache: 'gradle' | |
| - name: Setup Gradle | |
| uses: gradle/actions/setup-gradle@v4 | |
| with: | |
| cache-read-only: ${{ github.ref != 'refs/heads/main' && github.ref != 'refs/heads/master' }} | |
| - name: Grant execute permission for gradlew | |
| run: chmod +x gradlew | |
| - name: Run Compose UI Tests | |
| run: ./gradlew :common:jvmTest --tests "*Ui*" --no-daemon --stacktrace | |
| - name: Upload Test Results | |
| if: always() | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: compose-ui-test-results | |
| path: | | |
| common/build/reports/tests/jvmTest/ | |
| common/build/test-results/jvmTest/*.xml | |
| retention-days: 7 | |
| - name: Publish Test Report | |
| if: always() | |
| uses: mikepenz/action-junit-report@v4 | |
| with: | |
| report_paths: 'common/build/test-results/jvmTest/*.xml' | |
| check_name: 'Compose UI Test Results' | |
| detailed_summary: true | |
| include_passed: true | |
| fail_on_failure: true |