Added jacocoAggregatedCoverageVerification
verification task for en…
#126
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: build | |
on: | |
workflow_dispatch: | |
workflow_call: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
permissions: | |
checks: write | |
pull-requests: write | |
jobs: | |
build: | |
name: Build | |
runs-on: macos-latest # to use Android emulator | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Setup host | |
uses: ./.github/workflows/setup-host | |
- name: Test & Build | |
run: ./gradlew -s build | |
- name: Publish Test Report | |
uses: mikepenz/action-junit-report@v4 | |
if: always() | |
with: | |
report_paths: '**/build/test-results/*/TEST-*.xml' | |
- name: Coverage report | |
uses: codecov/codecov-action@v3 |