Skip to content

Merge branch 'NightscoutFoundation:master' into master #531

Merge branch 'NightscoutFoundation:master' into master

Merge branch 'NightscoutFoundation:master' into master #531

Workflow file for this run

name: Unit Test
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
java-version: [ 11 ]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v2
with:
java-version: ${{ matrix.java-version }}
distribution: adopt
- name: Run unit tests and assemble APKs
uses: gradle/gradle-build-action@v2
with:
arguments: assembleProdRelease testProdReleaseUnitTestCoverage
- name: Upload Coverage Report to Codecov
uses: codecov/codecov-action@v2
with:
verbose: true # optional (default = false)
files: app/build/reports/jacoco/testProdReleaseUnitTestCoverage/testProdReleaseUnitTestCoverage.xml,wear/build/reports/jacoco/testProdReleaseUnitTestCoverage/testProdReleaseUnitTestCoverage.xml
- name: Check Output
run: bash ./etc/CheckBuild/check-release.sh test