Merge pull request #351 from cbalster/fix_config_change_crash #70
This file contains hidden or 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: Run Build and Unit Tests | |
| on: | |
| push: | |
| branches: | |
| - master | |
| pull_request: | |
| branches: | |
| - master | |
| jobs: | |
| RunBuildAndUnitTests: | |
| name: Build and Test | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v5 | |
| - name: Gradle Wrapper Validation | |
| uses: gradle/actions/wrapper-validation@v3 | |
| - name: Install JDK | |
| uses: actions/setup-java@v5 | |
| with: | |
| distribution: 'zulu' | |
| java-version: 17 | |
| - name: Run Android Linter | |
| run: ./gradlew lint --stacktrace | |
| - name: Run Unit Tests | |
| run: ./gradlew testDebugUnitTest --stacktrace | |
| - name: Assemble Debug APK | |
| run: ./gradlew assembleDebug --stacktrace |