Update dependencies #1551
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: Tests | |
on: | |
push: | |
branches: | |
- 'master' | |
- 'AppManager-*' | |
paths-ignore: | |
- 'fastlane/**' | |
- 'scripts/**' | |
- '*.md' | |
pull_request: | |
branches: | |
- 'master' | |
- 'AppManager-*' | |
paths-ignore: | |
- 'fastlane/**' | |
- 'scripts/**' | |
- '*.md' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Clone the repository | |
uses: actions/checkout@v3 | |
with: | |
submodules: 'recursive' | |
- name: Set up JDK | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'zulu' | |
java-version: 17 | |
cache: 'gradle' | |
- name: Grant execute permission for gradlew | |
run: chmod +x gradlew | |
- name: Run tests | |
run: ./gradlew test | |
- name: Upload test results | |
if: ${{ always() }} | |
uses: actions/upload-artifact@v3 | |
with: | |
name: unitTestResults | |
path: ./app/build/reports/tests/testDebugUnitTest/ |