Handle the NullPointerException
when looking up resource value of a DynamicRefTable
when the data type is invalid.
#577
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: Copybara tests | |
on: | |
pull_request: | |
branches: [ google ] | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
permissions: | |
contents: read | |
jobs: | |
copybara-tests: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'adopt' | |
java-version: 17 | |
- uses: gradle/actions/setup-gradle@v3 | |
- name: Build | |
run: | | |
SKIP_ERRORPRONE=true SKIP_JAVADOC=true \ | |
./gradlew assemble testClasses --parallel --stacktrace --no-watch-fs | |
- name: Integration tests | |
run: | | |
# Only run integration tests on Copybara PRs | |
(cd integration_tests && \ | |
SKIP_ERRORPRONE=true SKIP_JAVADOC=true \ | |
../gradlew test --info --stacktrace --continue --parallel --no-watch-fs \ | |
-Drobolectric.alwaysIncludeVariantMarkersInTestName=true \ | |
-Drobolectric.enabledSdks=34 \ | |
-Dorg.gradle.workers.max=2 \ | |
-x :integration_tests:nativegraphics:test \ | |
) |