Skip to content

Commit

Permalink
Add push trigger for main branch in "Instrumented Tests" action
Browse files Browse the repository at this point in the history
  • Loading branch information
arburk committed Feb 21, 2024
1 parent a58166a commit 778695b
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/connected_check_on_pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ name: Instrumented Tests
on:
pull_request:
types: [opened, reopened, synchronize]
push:
branches:
- 'main'


jobs:
build:
Expand Down Expand Up @@ -61,6 +65,7 @@ jobs:
fi
echo "TARGET=$TARGET" >> "$GITHUB_OUTPUT"
## Disable cache since it breaks the tests
# - name: AVD cache
# if: steps.check_pr.outputs.PERFORM_TEST != 0
# uses: actions/cache@v4
Expand All @@ -71,7 +76,7 @@ jobs:
# ~/.android/adb*
# key: avd-ubuntu-${{ matrix.api-level }}

- name: Perfom instrumented tests
- name: Perform instrumented tests # see https://github.com/marketplace/actions/android-emulator-runner
uses: reactivecircus/android-emulator-runner@v2
with:
api-level: ${{ matrix.api-level }}
Expand Down

0 comments on commit 778695b

Please sign in to comment.