Skip to content

build(deps): bump actions/setup-java from 3.11.0 to 3.13.0 #319

build(deps): bump actions/setup-java from 3.11.0 to 3.13.0

build(deps): bump actions/setup-java from 3.11.0 to 3.13.0 #319

Workflow file for this run

name: mobile_coverage
on:
push:
branches:
- main
pull_request:
concurrency:
group: ${{ github.head_ref || github.run_id }}-${{ github.workflow }}
cancel-in-progress: true
jobs:
env:
if: ${{ github.repository == 'envoyproxy/envoy' }}
uses: ./.github/workflows/env.yml
secrets: inherit
coverage:
if: ${{ needs.env.outputs.mobile_coverage == 'true' }}
needs: env
name: coverage
runs-on: ${{ needs.env.outputs.agent_ubuntu }}
timeout-minutes: 120
defaults:
run:
shell: bash
container:
image: ${{ needs.env.outputs.build_image_ubuntu }}
steps:
- uses: actions/checkout@v3
- name: Add safe directory
run: git config --global --add safe.directory /__w/envoy/envoy
- name: 'Run coverage'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
cd mobile && BAZEL_BUILD_OPTION_LIST="--config=remote-ci-linux-coverage" \
PATH=/opt/llvm/bin:${PATH} \
COVERAGE_THRESHOLD=76 \
../test/run_envoy_bazel_coverage.sh //test/common/... //test/cc/...
- name: 'Package coverage'
run: |
cd mobile && tar -czf coverage.tar.gz generated/coverage
- name: 'Upload report'
uses: actions/upload-artifact@v3
with:
name: coverage.tar.gz
path: mobile/coverage.tar.gz