Added authentication with API key and log added for generating credential failure #6
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Run Unit Tests for Android | |
on: | |
workflow_dispatch: | |
pull_request: | |
branches: [ main ] | |
jobs: | |
test-android: | |
name: Test Android | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Java | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'zulu' | |
java-version: '17' | |
- name: Run Unit Tests | |
run: | | |
./gradlew testDebugUnitTest | |
- name: Upload test results | |
uses: actions/upload-artifact@v3 | |
if: always() | |
with: | |
name: test-results | |
path: library/build/reports/tests/testDebugUnitTest/ | |
retention-days: 1 |