Skip to content

Highlight the current song on the album detail view #114

Highlight the current song on the album detail view

Highlight the current song on the album detail view #114

name: CI
on:
pull_request:
branches: [main]
types:
- opened
- reopened
- synchronize
- ready_for_review
env:
GRADLE_OPTS: -Dorg.gradle.daemon=false -Dorg.gradle.jvmargs="-XX:+HeapDumpOnOutOfMemoryError"
concurrency:
group: ci-${{ github.head_ref }}
cancel-in-progress: true
jobs:
unit_tests:
name: "Unit Tests"
runs-on: ubuntu-latest
if: ${{ !github.event.pull_request.draft }}
timeout-minutes: 60
steps:
- name: "Git Checkout"
uses: actions/checkout@v3
- name: "Create keystore.ks"
run: 'echo "${{secrets.KEYSTORE_FILE}}" | base64 -d > ./androidApp/main/keystore.ks'
- name: "Set up JDK 11"
uses: actions/setup-java@v3.3.0
with:
distribution: zulu
java-version: 11
- name: "lint Project"
run: "support/scripts/lint"
- name: "Gradle cache"
uses: gradle/gradle-build-action@v2
- name: "Build and Run Unit Tests"
run: "support/scripts/unit-test"
env:
BUGSNAG_API_KEY: ${{ secrets.BUGSNAG_API_KEY }}
- name: "Unit Test Results"
uses: actions/upload-artifact@v3
if: always()
with:
name: test-results
path: |
**/build/reports/**/*