Update apple-actions/download-provisioning-profiles action to v3 #7
Workflow file for this run
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: Shared tests | |
on: | |
pull_request: | |
push: | |
branches: | |
- master | |
jobs: | |
unit_tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: set up JDK 17 | |
uses: actions/setup-java@v4 | |
with: | |
java-version: '17' | |
distribution: 'corretto' | |
cache: gradle | |
- name: Setup Gradle | |
uses: gradle/actions/setup-gradle@v3 | |
- name: Unit tests | |
run: ./gradlew testDebugUnitTest | |
- name: Generate code coverage | |
run: ./gradlew androidApp:koverXmlReportDebug | |
- name: Upload test coverage | |
uses: actions/upload-artifact@v4 | |
with: | |
name: code-coverage.xml | |
path: app/build/coverage-report/result.xml |