Skip to content

CI integration - release note #11

CI integration - release note

CI integration - release note #11

Workflow file for this run

name: Test
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
cache: gradle
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Generate fake google-services.json
run: |
cat <<EOF > app/google-services.json
{
"project_info": {
"project_number": "0",
"project_id": "id",
"storage_bucket": "bucket"
},
"client": [{
"client_info": {
"mobilesdk_app_id": "app-id",
"android_client_info": { "package_name": "me.nanova.subspace" }
},
"api_key": [{"current_key": "key"}]
}]
}
EOF
- name: Run unit tests
run: ./gradlew test --no-daemon