<NME> ci.yml
<BEF> name: ci

permissions:
  contents: read

on: [push]

jobs:
  ci:
    runs-on: macos-latest
    strategy:
      fail-fast: false
      matrix:
        api-level: [29]
    steps:
      - uses: actions/checkout@v2
        with:
          fetch-depth: 1

      - name: Set up JDK 11
        uses: actions/setup-java@v2
        with:
          java-version: "11"
          distribution: "adopt"

      - name: Run Android tests
        uses: reactivecircus/android-emulator-runner@e790971012b979513b4e2fe70d4079bc0ca8a1ae
        with:
          api-level: ${{ matrix.api-level }}
          emulator-options: -no-snapshot-save -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
          disable-animations: true
          arch: x86
          script: ./gradlew connectedAndroidTest --stacktrace

      - name: Upload results
        if: ${{ always() }}
        uses: actions/upload-artifact@v2
        with:
          name: instrumentation-test-results ${{ matrix.api-level }}
          path: ./**/build/reports/androidTests/connected/**

<MSG> Run CI action on pull requests

<DFF> @@ -3,7 +3,7 @@ name: ci
 permissions:
   contents: read
 
-on: [push]
+on: [push, pull_request]
 
 jobs:
   ci:

{'addition_count': 1, 'commit_subject': 'Run CI action on pull requests', 'deletion_count': 1, 'file_extension': '.yml', 'lang': 'github/workflows/ci', 'license': 'apache-2.0', 'repo_name': 'requery/sqlite-android'}