Skip to content

Merge pull request #70 from sipgate/renovate/kotlinx-coroutines-monorepo #228

Merge pull request #70 from sipgate/renovate/kotlinx-coroutines-monorepo

Merge pull request #70 from sipgate/renovate/kotlinx-coroutines-monorepo #228

Workflow file for this run

name: Build and Test
on:
workflow_dispatch:
push:
branches: [ "**" ]
paths-ignore:
- 'README.md'
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: 'adopt'
- name: Enable KVM group perms
run: |
echo 'KERNEL=="kvm", GROUP="kvm", MODE="0666", OPTIONS+="static_node=kvm"' | sudo tee /etc/udev/rules.d/99-kvm4all.rules
sudo udevadm control --reload-rules
sudo udevadm trigger --name-match=kvm
ls /dev/kvm
- name: Setup Android SDK
uses: android-actions/setup-android@v3
- name: Setup Gradle to support advanced caching
uses: gradle/actions/[email protected]
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build release with Gradle
run: ./gradlew assemble check
- name: Install Firebase Tools
run: npm install -g firebase-tools
- name: Run Integration Tests
run: firebase emulators:exec --project demo-test --only database,firestore './gradlew pixel2api30Check --no-parallel'
- name: Publish Test Results
uses: EnricoMi/publish-unit-test-result-action@v2
if: always()
with:
files: |
**/build/test-results/**/*.xml
**/build/outputs/androidTest-results/managedDevice/**/**/*.xml