-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #9 from makeen-project/main
Added authentication with custom credential provider and removed authentication with API key
- Loading branch information
Showing
11 changed files
with
350 additions
and
317 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
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@v2 | ||
if: always() | ||
with: | ||
name: test-results | ||
path: library/build/reports/tests/testDebugUnitTest/ | ||
retention-days: 1 |
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
59 changes: 0 additions & 59 deletions
59
library/src/main/java/software/amazon/location/auth/ApiKeyCredentialsProvider.kt
This file was deleted.
Oops, something went wrong.
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
Oops, something went wrong.