DIA-4092 fix PM dismiss button for 1st layer PMs #2332
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: [ develop ] | |
paths: | |
- '!README.md' | |
- '!release_note.txt' | |
pull_request: | |
branches: [ develop ] | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }} | |
jobs: | |
unit-tests-cmplib: | |
timeout-minutes: 30 | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: set up JDK 17 | |
uses: actions/setup-java@v4 | |
with: | |
distribution: zulu | |
java-version: 17 | |
cache: gradle | |
- name: Unit Tests cmplibrary | |
run: ./gradlew cmplibrary:test | |
- name: Upload test reports | |
if: always() | |
uses: actions/upload-artifact@v4 | |
with: | |
name: cmplibrary-unit-test-reports | |
path: '**/build/reports/tests' | |
integration-tests-cmplib: | |
timeout-minutes: 30 | |
runs-on: ubuntu-latest | |
steps: | |
- run: rm -rf "$AGENT_TOOLSDIRECTORY" # free up space, impacts on the emulator being able to install | |
- run: rm -rf /usr/share/dotnet # free up space, impacts on the emulator being able to install | |
- 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 | |
- uses: actions/checkout@v4 | |
- name: set up JDK 17 | |
uses: actions/setup-java@v4 | |
with: | |
distribution: zulu | |
java-version: 17 | |
cache: gradle | |
- name: run tests | |
uses: reactivecircus/android-emulator-runner@v2 | |
with: | |
api-level: 33 | |
arch: x86_64 | |
profile: pixel_5 | |
disable-animations: true | |
disk-size: 6000M | |
heap-size: 1024M | |
emulator-options: -no-snapshot-save -no-window -noaudio -no-boot-anim -camera-back none | |
script: ./gradlew cmplibrary:connectedAndroidTest | |
- name: Upload test reports | |
if: always() | |
uses: actions/upload-artifact@v4 | |
with: | |
name: cmplibrary-integration-test-reports | |
path: '**/build/reports/androidTests' | |
ui-tests-sample-app: | |
timeout-minutes: 30 | |
runs-on: ubuntu-latest | |
steps: | |
# free up space, impacts on the emulator being able to install | |
- run: rm -rf "$AGENT_TOOLSDIRECTORY" | |
- run: rm -rf /usr/share/dotnet | |
- 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 | |
- uses: actions/checkout@v4 | |
- name: set up JDK 17 | |
uses: actions/setup-java@v4 | |
with: | |
distribution: zulu | |
java-version: 17 | |
cache: gradle | |
- name: run tests | |
uses: reactivecircus/android-emulator-runner@v2 | |
with: | |
api-level: 33 | |
arch: x86_64 | |
profile: pixel_5 | |
disable-animations: true | |
disk-size: 6000M | |
heap-size: 1024M | |
emulator-options: -no-snapshot-save -no-window -noaudio -no-boot-anim -camera-back none | |
script: ./gradlew :app:connectedDebugAndroidTest | |
- name: Upload test reports | |
if: always() | |
uses: actions/upload-artifact@v4 | |
with: | |
name: sampleapp-test-reports | |
path: '**/build/reports/androidTests' | |
ui-tests-metaapp: | |
timeout-minutes: 30 | |
runs-on: ubuntu-latest | |
steps: | |
# free up space, impacts on the emulator being able to install | |
- run: rm -rf "$AGENT_TOOLSDIRECTORY" | |
- run: rm -rf /usr/share/dotnet | |
- 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 | |
- uses: actions/checkout@v4 | |
- name: set up JDK 17 | |
uses: actions/setup-java@v4 | |
with: | |
distribution: zulu | |
java-version: 17 | |
cache: gradle | |
- name: run tests | |
uses: reactivecircus/android-emulator-runner@v2 | |
with: | |
api-level: 33 | |
arch: x86_64 | |
profile: pixel_5 | |
disable-animations: true | |
disk-size: 6000M | |
heap-size: 1024M | |
emulator-options: -no-snapshot-save -no-window -noaudio -no-boot-anim -camera-back none | |
script: ./gradlew :metaapp:connectedDebugAndroidTest | |
- name: Upload test reports | |
if: always() | |
uses: actions/upload-artifact@v4 | |
with: | |
name: metaapp-test-reports | |
path: '**/build/reports/androidTests' |