added support for Kotlin mapOf and emptyMap for SDK Methods. #236
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: Android Smoke Test Workflows | |
on: | |
push: | |
branches: [ "develop", "main" ] | |
pull_request: | |
branches: [ "develop", "main" ] | |
workflow_dispatch: | |
jobs: | |
smoke-test-jdk11: | |
runs-on: ubuntu-latest | |
timeout-minutes: 15 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-java@v3 | |
with: | |
java-version: '11' | |
distribution: 'temurin' | |
cache: 'gradle' | |
- uses: gradle/[email protected] | |
with: | |
gradle-version: current | |
- name: Stage with Gradle | |
run: ./gradlew publish | |
- name: Test with Gradle | |
run: ./gradlew :plugins:gradle:functionalTests --tests "com.newrelic.agent.android.PluginJDK11SmokeSpec" | |
- name: Upload build reports | |
if: ${{ !env.ACT }} | |
uses: actions/upload-artifact@v3 | |
with: | |
name: smoke-test-jdk11-reports | |
path: | | |
build/reports/tests/test/index.html | |
build/reports/tests/integrationTests/index.html | |
if-no-files-found: ignore | |
retention-days: 3 | |
smoke-test-jdk17: | |
if: ${{ false }} # disable for until JDK17 issues with tests are resolved | |
runs-on: ubuntu-latest | |
timeout-minutes: 15 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-java@v3 | |
with: | |
java-version: '17' | |
distribution: 'temurin' | |
cache: 'gradle' | |
- uses: gradle/[email protected] | |
with: | |
gradle-version: current | |
- name: Stage with Gradle | |
run: ./gradlew publish | |
- name: Test with Gradle | |
run: ./gradlew :plugins:gradle:functionalTests --tests "com.newrelic.agent.android.PluginJDK17SmokeSpec" | |
- name: Upload build reports | |
if: ${{ !env.ACT }} | |
uses: actions/upload-artifact@v3 | |
with: | |
name: smoke-test-jdk17-reports | |
path: | | |
build/reports/tests/test/index.html | |
build/reports/tests/integrationTests/index.html | |
if-no-files-found: ignore | |
retention-days: 3 | |