Skip to content

Single headless emulator - 13 #26

Single headless emulator - 13

Single headless emulator - 13 #26

Workflow file for this run

name: Android CI
on:
push:
branches:
- "*"
concurrency:
group: ${{ github.head_ref }}
cancel-in-progress: true
jobs:
instrumentation-tests:
if: github.event.pull_request.draft == false
runs-on: [ self-hosted, test ]
strategy:
matrix:
api-level: [ 33, 34 ]
target: [ google_apis ]
env:

Check failure on line 21 in .github/workflows/kaan.yml

View workflow run for this annotation

GitHub Actions / Android CI

Invalid workflow file

The workflow is not valid. .github/workflows/kaan.yml (Line: 21, Col: 9): Unexpected value ''
# ENV_PATH: "app/src/androidTest/java/com/infomaniak/drive/utils/Env.kt"
# ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
# DRIVE_ID: ${{ secrets.DRIVE_ID }}
# INVITE_USER_NAME: ${{ secrets.INVITE_USER_NAME }}
# NEW_USER_ID: ${{ secrets.NEW_USER_ID }}
# NEW_USER_NAME: ${{ secrets.NEW_USER_NAME }}
# NEW_USER_PASSWORD: ${{ secrets.NEW_USER_PASSWORD }}
# GENIUS_SCAN_ENV_PATH: "app/src/standard/java/com/infomaniak/drive/GeniusScanEnv.kt"
# GENIUS_SCAN_KEY: ${{ secrets.GENIUS_SCAN_KEY }}
steps:
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Run instrumentation tests
uses: ReactiveCircus/android-emulator-runner@v2.30.1
with:
api-level: ${{ matrix.api-level }}
target: ${{ matrix.target }}
profile: pixel_7
arch: arm64-v8a
disk-size: 6G
avd-name: kdrive-test
force-avd-creation: false
disable-animations: true
emulator-options: -no-snapshot-save -noaudio -no-boot-anim -camera-back none -skin 540x1110
script: echo "hello"
#on:
# push:
# branches:
# - "*"
#
#jobs:
# test:
# runs-on: ubuntu-latest
# strategy:
# matrix:
# api-level: [ 30, 33, 34 ]
# target: [ default, google_apis ]
# steps:
# - name: Setup JDK
# uses: actions/setup-java@v2
# with:
# java-version: '11'
# distribution: 'temurin'
# - 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: run tests
# uses: reactivecircus/android-emulator-runner@v2
# with:
# api-level: ${{ matrix.api-level }}
# target: ${{ matrix.target }}
# arch: x86_64
# profile: Nexus 6
# script: -|
# echo "Henlo my fren [ 1 ]"
# echo "Henlo my fren [ 2 ]"
#
#