Skip to content

build(deps): bump openTelementrySemConv from 1.27.0-alpha to 1.29.0-alpha #28

build(deps): bump openTelementrySemConv from 1.27.0-alpha to 1.29.0-alpha

build(deps): bump openTelementrySemConv from 1.27.0-alpha to 1.29.0-alpha #28

Workflow file for this run

name: "Run swazzler-tests"
on:
pull_request:
workflow_dispatch:
env:
ANDROID_BUILD_TOOLS_HOME: "/usr/local/lib/android/sdk/build-tools/35.0.0"
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
runSwazzlerTests:
name: "Run Gradle Tests"
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
- uses: actions/checkout@v4
- name: Install Java
uses: actions/setup-java@v4
with:
distribution: 'adopt'
java-version: 17
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4
- name: Cache NDK
id: ndk-cache
uses: actions/cache@v4
with:
path: /usr/local/lib/android/sdk/ndk/27.0.12077973
key: ndk-cache
- name: Install NDK
if: steps.ndk-cache.outputs.cache-hit != 'true'
run: echo "y" | ${ANDROID_SDK_ROOT}/cmdline-tools/latest/bin/sdkmanager --install "ndk;27.0.12077973"
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: 20.x
- name: "Publish SDK locally"
run: ./gradlew publishDebugSdk --no-daemon
- name: Checkout Swazzler
uses: actions/checkout@v4
with:
repository: embrace-io/embrace-swazzler3
path: ./embrace-swazzler3
token: ${{ secrets.GH_ANDROID_SDK_TOKEN }}
- name: "Publish Swazzler locally"
working-directory: ./embrace-swazzler3
run: ./gradlew publishToMavenLocal --no-daemon
- name: "Run Gradle Tests"
working-directory: ./embrace-swazzler3
run: ./gradlew :embrace-gradle-plugin-functional-tests:test --tests "io.embrace.android.gradle.swazzler.tests.*" --stacktrace
- name: "Test Results"
if: ${{ always() }}
uses: actions/upload-artifact@v4
with:
name: swazzler-test-results
path: |
./embrace-swazzler3/embrace-gradle-plugin-functional-tests/reports/tests/swazzlerTests/
./embrace-swazzler3/embrace-gradle-plugin-functional-tests/test_debug_output