Skip to content

Commit

Permalink
Update tests.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
itsnitish22 authored Jun 23, 2022
1 parent 403dd4e commit ac4ef86
Showing 1 changed file with 6 additions and 24 deletions.
30 changes: 6 additions & 24 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,44 +17,26 @@ jobs:
- name: Checkout
uses: actions/checkout@v2.4.0
- name: Setup JDK
uses: actions/setup-java@v1
uses: actions/setup-java@v2.5.0
with:
java-version: '1.8'
distribution: 'temurin'
java-version: '11'
- name: Set execution flag for gradlew
run: chmod +x gradlew
- name: Unit tests
run: bash ./gradlew test --stacktrace

build:
name: Upload APK to App Tester
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2.4.0
- name: Setup JDK
uses: actions/setup-java@v1
with:
java-version: '1.8'
- name: build release
run: bash ./gradlew assembleDebug
- name: upload artifact to Firebase App Distribution
uses: wzieba/Firebase-Distribution-Github-Action@v1.2.2
with:
appId: '1:822399718607:android:dea7dfcf6d8768341dd3ba'
token: '1//0gMhKE9eX516XCgYIARAAGBASNwF-L9IrMkKn4kwv_xReaikQYJHWO5smvmcIts8LDgF700LkDxQK6z187BIzIC66mAG0DAzy_sE'
groups: feedbackprimetester
file: app/build/outputs/apk/debug/app-debug.apk

apk:
name: Generate APK
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2.4.0
- name: Setup JDK
uses: actions/setup-java@v1
uses: actions/setup-java@v2.5.0
with:
java-version: '1.8'
distribution: 'temurin'
java-version: '11'
- name: Set execution flag for gradlew
run: chmod +x gradlew
- name: Build debug APK
Expand Down

0 comments on commit ac4ef86

Please sign in to comment.