Add Groups to Conversations #744
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: Test | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
env: | |
GPR_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
GPR_USER: ${{ secrets.GITHUB_ACTOR }} | |
jobs: | |
library-unit: | |
name: Library (Unit Tests) | |
runs-on: warp-ubuntu-latest-x64-16x | |
steps: | |
- name: Checkout project sources | |
uses: actions/checkout@v3 | |
- uses: actions/setup-java@v3 | |
with: | |
distribution: 'adopt' | |
java-version: '11' | |
- name: Setup Gradle | |
uses: gradle/gradle-build-action@v2 | |
- name: Validate Gradle Wrapper | |
uses: gradle/wrapper-validation-action@v1 | |
- name: Start Docker containers | |
run: dev/up | |
- name: Gradle Run Unit Tests | |
run: ./gradlew library:testDebug | |
library-integration: | |
name: Library (Integration Tests) | |
runs-on: warp-ubuntu-latest-x64-16x | |
steps: | |
- name: Checkout project sources | |
uses: actions/checkout@v4 | |
- uses: actions/setup-java@v3 | |
with: | |
distribution: 'adopt' | |
java-version: '11' | |
- name: Setup Gradle | |
uses: gradle/gradle-build-action@v2 | |
- name: Validate Gradle Wrapper | |
uses: gradle/wrapper-validation-action@v1 | |
- name: checkout | |
uses: actions/checkout@v4 | |
- name: Enable KVM | |
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 | |
- name: Start Docker containers | |
run: dev/up | |
- name: Gradle Run Integration Tests | |
uses: reactivecircus/android-emulator-runner@v2 | |
with: | |
api-level: 29 | |
script: ./gradlew connectedCheck | |