Make use of ryw_delay
to minimize retries on IAM fetch
#845
Workflow file for this run
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: Test | |
on: | |
pull_request: | |
branches: "**" | |
jobs: | |
build: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: "[Setup] Java" | |
uses: actions/setup-java@v3 | |
with: | |
java-version: '17' | |
distribution: 'temurin' | |
- name: "[Setup] Android" | |
uses: android-actions/setup-android@v3 | |
with: | |
cmdline-tools-version: 10406996 | |
log-accepted-android-sdk-licenses: false | |
- name: "[Test] Linting" | |
working-directory: OneSignalSDK | |
run: | | |
./gradlew ktlintCheck --console=plain | |
- name: "[Test] SDK Unit Tests" | |
working-directory: OneSignalSDK | |
run: | | |
./gradlew testReleaseUnitTest --console=plain --continue | |
- name: Unit tests results | |
if: failure() | |
uses: actions/upload-artifact@v3 | |
with: | |
name: unit-tests-results | |
path: OneSignalSDK/unittest/build |