Skip to content

Commit

Permalink
Update check.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
kaddaSz authored May 20, 2022
1 parent b28dca3 commit 23576b8
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -418,8 +418,34 @@ jobs:
needs: unit_tests_device_release
if: ${{ !github.event.pull_request.head.repo.fork }}
steps:
- uses: actions/checkout@v3

- name: Download sapmachine JDK 11
run: |
download_url="https://github.com/SAP/SapMachine/releases/download/sapmachine-11.0.14.1/sapmachine-jdk-11.0.14.1_linux-x64_bin.tar.gz"
wget -O "${RUNNER_TEMP}/sapmachine-jdk-11.tar.gz" "${download_url}"
- name: Setup sapmachine JDK 11
uses: actions/setup-java@v2
with:
distribution: 'jdkfile'
jdkFile: ${{ runner.temp }}/sapmachine-jdk-11.tar.gz
java-version: '11.0.14'
architecture: x64
cache: 'gradle'

- uses: maxim-lobanov/setup-android-tools@v1
with:
cache: true

- name: Generate JaCoCo report
run: ./gradlew -PdisablePreDex :Corona-Warn-App:jacocoTestReportDeviceRelease -i

- name: Archive JaCoCo report
uses: actions/upload-artifact@v3
with:
name: reports
path: Corona-Warn-App/build/reports

- name: SonarCloud Scan
uses: sonarsource/sonarcloud-github-action@v1.6
Expand Down

0 comments on commit 23576b8

Please sign in to comment.