build(deps): Bump kotest from 6.1.11 to 6.2.1 #598
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: Build & Test | |
| on: [ push, pull_request ] | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| build-job: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 60 | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| - name: Copy CI gradle.properties | |
| run: mkdir -p ~/.gradle ; cp .github/ci-gradle.properties ~/.gradle/gradle.properties | |
| - name: Set up JDK 25 | |
| uses: actions/setup-java@v5 | |
| with: | |
| distribution: 'zulu' | |
| java-version: 25 | |
| - name: Set up Node.js | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: '20' | |
| - name: Disk space (observability) | |
| run: df -h | |
| - name: Build and Test (PR) | |
| if: github.event_name == 'pull_request' | |
| env: | |
| GRADLE_OPTS: -Dorg.gradle.jvmargs="-Xmx4g -Dfile.encoding=UTF-8" | |
| run: | | |
| # Config cache is disabled in CI: KGP's KotlinPackageJsonTask resolves | |
| # the *NpmAggregated configs during configuration, which AGP's | |
| # DependencyResolutionChecks rejects under config-cache (gradle#31483). | |
| # Local dev keeps it on (gradle.properties) where warm caches skip | |
| # re-configuration. release.yml already publishes with --no-configuration-cache. | |
| ./gradlew --no-daemon --stacktrace --info \ | |
| -Dorg.gradle.caching=true \ | |
| --no-configuration-cache \ | |
| clean assemble allTests | |
| - name: Build and Test (push) | |
| if: github.event_name != 'pull_request' | |
| env: | |
| GRADLE_OPTS: -Dorg.gradle.jvmargs="-Xmx4g -Dfile.encoding=UTF-8" | |
| run: | | |
| # See the PR step above: config cache disabled in CI (gradle#31483). | |
| ./gradlew --no-daemon --stacktrace --info \ | |
| -Dorg.gradle.caching=true \ | |
| --no-configuration-cache \ | |
| assemble allTests | |
| - name: Memory info (on failure) | |
| if: failure() | |
| run: | | |
| free -h || true | |
| cat /proc/meminfo | head -n 50 || true | |
| - name: Upload all test reports | |
| if: always() | |
| uses: actions/upload-artifact@v7 | |
| with: | |
| name: test-reports | |
| path: | | |
| **/build/reports/tests/** | |
| **/build/test-results/** | |
| retention-days: 14 |