Create test-feature-01.log #101
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: Develop PR Checks | |
on: | |
pull_request: | |
branches: | |
- develop | |
jobs: | |
lint: | |
name: Lint | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout the code | |
uses: actions/checkout@v2 | |
- name: Install ktlint | |
uses: nbadal/action-ktlint-setup@v1 | |
with: | |
ktlint_version: '0.48.2' | |
- run: ktlint | |
shell: bash | |
build: | |
name: Build & Test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout the code | |
uses: actions/checkout@v2 | |
- name: Set up JDK 11 | |
uses: actions/setup-java@v1 | |
with: | |
java-version: 11 | |
- name: Make local.properties | |
run: touch local.properties & echo -e "mapbox.downloads.token=${{ secrets.MAPBOX_SDK_DOWNLOAD_TOKEN }}" >> local.properties | |
- name: Build Debug APK | |
run: bash ./gradlew :app:assembleDebug | |
- name: Run unit tests | |
run: bash ./gradlew testDebugUnitTest |