Skip to content

Commit d2c4b42

Browse files
committed
[ADDED] testing.yml ci
1 parent 6255ac7 commit d2c4b42

1 file changed

Lines changed: 27 additions & 0 deletions

File tree

.github/workflows/testing.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Testing - Chat App
2+
3+
on:
4+
push:
5+
branches: [ "master", "develop" ]
6+
pull_request:
7+
branches:
8+
- master
9+
10+
jobs:
11+
build:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/checkout@v3
15+
- name: set up JDK 17
16+
uses: actions/setup-java@v3
17+
with:
18+
java-version: '17'
19+
distribution: 'temurin'
20+
cache: gradle
21+
22+
- name: Run tests
23+
run: ./gradlew testDebugUnitTest
24+
25+
- name: Android Test Report
26+
uses: asadmansr/android-test-report-action@v1.2.0
27+
if: ${{ always() }}

0 commit comments

Comments
 (0)