Skip to content

Record internal error when startup trace fails to be recorded #6201

Record internal error when startup trace fails to be recorded

Record internal error when startup trace fails to be recorded #6201

Workflow file for this run

name: CI
on:
push:
branches: [ main ]
pull_request:
release:
types: [ released ]
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
gradle-test:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- name: Checkout Branch
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Java
uses: actions/setup-java@v4
with:
distribution: 'adopt'
java-version: 17
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4
# Build the entire project, run the tests, and run all static analysis
- name: Gradle Build
run: ./gradlew assembleRelease testReleaseUnitTest detekt lint apiCheck --stacktrace
- name: Archive Test Results
if: ${{ always() }}
uses: actions/upload-artifact@v4
with:
name: android-sdk-test-results
path: embrace-android-sdk/build/reports/tests/
- name: Run Kover Code Coverage
run: ./gradlew koverXmlReportRelease
- uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: false
file: embrace-android-sdk/build/reports/kover/reportRelease.xml