Skip to content

Commit 164cfad

Browse files
committed
Run CI on other branches too
1 parent e19b75b commit 164cfad

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/test.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ name: Gradle build & test
22

33
on:
44
push:
5-
branches: [ "main" ]
65
pull_request:
76
branches: [ "main" ]
87
workflow_call:
@@ -12,6 +11,7 @@ permissions:
1211

1312
jobs:
1413
build:
14+
if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name != github.repository)
1515
strategy:
1616
matrix:
1717
include:
@@ -79,6 +79,7 @@ jobs:
7979
**/build/test-results/
8080
8181
android_emulator:
82+
if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name != github.repository)
8283
runs-on: ubuntu-latest
8384
timeout-minutes: 30
8485
env:

0 commit comments

Comments
 (0)