Skip to content

build(deps): bump jaegertracing/all-in-one from 412f505 to 1450fd0 in /examples/shared/jaeger #143

build(deps): bump jaegertracing/all-in-one from 412f505 to 1450fd0 in /examples/shared/jaeger

build(deps): bump jaegertracing/all-in-one from 412f505 to 1450fd0 in /examples/shared/jaeger #143

name: android_tests
permissions:
contents: read
on:
push:
branches:
- main
pull_request:
concurrency:
group: ${{ github.head_ref || github.run_id }}-${{ github.workflow }}
cancel-in-progress: true
jobs:
env:
uses: ./.github/workflows/_env.yml
with:
prime_build_image: true
permissions:
contents: read
javatestslinux:
if: ${{ needs.env.outputs.mobile_android_tests == 'true' }}
needs: env
permissions:
contents: read
packages: read
name: java_tests_linux
runs-on: ${{ needs.env.outputs.agent_ubuntu }}
timeout-minutes: 90
steps:
- name: Pre-cleanup
# Using the defaults in
# https://github.com/envoyproxy/toolshed/blob/main/gh-actions/diskspace/action.yml.
uses: envoyproxy/toolshed/gh-actions/[email protected]
- uses: actions/checkout@v4
- name: Add safe directory
run: git config --global --add safe.directory /__w/envoy/envoy
- name: 'Run Kotlin library integration tests'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CC: /opt/llvm/bin/clang
CXX: /opt/llvm/bin/clang++
run: |
docker run --volume="${PWD}:/source" --workdir="/source/mobile" \
-e GITHUB_TOKEN -e CC -e CXX ${{ needs.env.outputs.build_image_ubuntu_mobile }} \
./bazelw test \
--build_tests_only \
--config=test-android \
--config=mobile-remote-ci \
--define=signal_trace=disabled \
//test/java/...
kotlintestslinux:
if: ${{ needs.env.outputs.mobile_android_tests == 'true' }}
needs: env
permissions:
contents: read
packages: read
# Only kotlin tests are executed since with linux:
# https://github.com/envoyproxy/envoy-mobile/issues/1418.
name: kotlin_tests_linux
runs-on: ${{ needs.env.outputs.agent_ubuntu }}
timeout-minutes: 90
steps:
- name: Pre-cleanup
# Using the defaults in
# https://github.com/envoyproxy/toolshed/blob/main/gh-actions/diskspace/action.yml.
uses: envoyproxy/toolshed/gh-actions/[email protected]
- uses: actions/checkout@v4
- name: Add safe directory
run: git config --global --add safe.directory /__w/envoy/envoy
- name: 'Run Kotlin library integration tests'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CC: /opt/llvm/bin/clang
CXX: /opt/llvm/bin/clang++
run: |
docker run --volume="${PWD}:/source" --workdir="/source/mobile" \
-e GITHUB_TOKEN -e CC -e CXX ${{ needs.env.outputs.build_image_ubuntu_mobile }} \
./bazelw test \
--build_tests_only \
--config=test-android \
--config=mobile-remote-ci \
--define=signal_trace=disabled \
//test/kotlin/...