Add a version skipping mechanism for the AGP patch #268
Workflow file for this run
This file contains 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: {} | |
jobs: | |
run_tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: gradle/wrapper-validation-action@v1 | |
- uses: actions/[email protected] | |
with: | |
distribution: 'zulu' | |
java-version: 17 | |
- name: Run tests | |
run: ./gradlew check --stacktrace | |
- name: Store Test Results | |
uses: actions/upload-artifact@v3 | |
if: failure() | |
with: | |
name: error-report | |
path: "**/build/reports/tests/test/**/*.html" | |
bundle_sample: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: gradle/wrapper-validation-action@v1 | |
- uses: actions/[email protected] | |
with: | |
distribution: 'zulu' | |
java-version: 17 | |
- name: Bundle Sample Project | |
# TODO: Remove the extra runtime build command | |
run: | | |
./gradlew :runtime:build | |
./gradlew -p sample app:bundleRelease | |
env: | |
GRADLE_OPTS: -Dorg.gradle.parallel=true -Dorg.gradle.caching=true -Dorg.gradle.jvmargs="-Xmx2G -XX:+HeapDumpOnOutOfMemoryError" |