Ensure assertThrows clauses only have one statement. #3015
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: Gradle Tasks Validation | |
on: | |
push: | |
branches: [ master, 'robolectric-*.x' ] | |
paths-ignore: | |
- '**.md' | |
pull_request: | |
branches: [ master, google ] | |
paths-ignore: | |
- '**.md' | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
permissions: | |
contents: read | |
jobs: | |
run_aggregateDocs: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up JDK | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'adopt' | |
java-version: 17 | |
- uses: gradle/actions/setup-gradle@v3 | |
- name: Run aggregateDocs | |
run: ./gradlew clean aggregateDocs --parallel | |
run_javadocJar: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up JDK | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'adopt' | |
java-version: 17 | |
- uses: gradle/actions/setup-gradle@v3 | |
- name: Run javadocJar | |
run: ./gradlew clean javadocJar --parallel | |
run_instrumentAll: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up JDK | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'adopt' | |
java-version: 17 | |
- uses: gradle/actions/setup-gradle@v3 | |
- name: Run :preinstrumented:instrumentAll | |
run: ./gradlew :preinstrumented:instrumentAll | |
- name: Run :preinstrumented:instrumentAll with SDK 33 | |
run: PREINSTRUMENTED_SDK_VERSIONS=33 ./gradlew :preinstrumented:instrumentAll | |
- name: Run :preinstrumented:publishToMavenLocal with SDK 33 | |
run: PREINSTRUMENTED_SDK_VERSIONS=33 PUBLISH_PREINSTRUMENTED_JARS=true ./gradlew :preinstrumented:publishToMavenLocal | |
run_publishToMavenLocal: | |
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: Publish to Maven local | |
run: ./gradlew publishToMavenLocal --no-watch-fs |