We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 12f97da commit 4616ee5Copy full SHA for 4616ee5
1 file changed
.github/workflows/build.yml
@@ -0,0 +1,39 @@
1
+name: Build and Test
2
+
3
+on:
4
+ push:
5
+ branches: [ "**" ]
6
+ pull_request:
7
8
9
+jobs:
10
+ build:
11
+ runs-on: ubuntu-latest
12
13
+ steps:
14
+ - uses: actions/checkout@v4
15
16
+ - name: Set up JDK 17
17
+ uses: actions/setup-java@v3
18
+ with:
19
+ java-version: '17'
20
+ distribution: 'temurin'
21
+ cache: gradle
22
23
+ - name: Grant execute permission for gradlew
24
+ run: chmod +x gradlew
25
26
+ - name: Build with Gradle
27
+ run: ./gradlew build
28
29
+ - name: Run Unit Tests
30
+ run: ./gradlew test
31
32
+ - name: Run Instrumentation Tests
33
+ uses: reactivecircus/android-emulator-runner@v2
34
35
+ api-level: 35
36
+ target: default
37
+ arch: x86_64
38
+ profile: Nexus 6
39
+ script: ./gradlew connectedCheck
0 commit comments