enioka-Haute-Couture / enioka_scan

Integration library for all your Android hardware barcode scanner integration needs
Apache License 2.0
52 stars 4 forks source link

CI: integration tests no longer work, adb cannot find the emulator #178

Closed DaSpood closed 6 months ago

DaSpood commented 7 months ago

Need to investigate the workflow and either upgrade or replace the part in charge of integration testing. For now the Test workflow was manually disabled. We will need it back ASAP.

VincentKobz commented 6 months ago

It is probably due to the fact that GitHub switched their MacOS runner to ARMv8 M1 architecture, PANIC: Avd's CPU Architecture 'x86' is not supported by the QEMU2 emulator on aarch64 host..

One solution I found is to switch the runner to ubuntu-latest (https://github.com/enioka-Haute-Couture/enioka_scan/tree/try-fix-ci), and it seems to work. I'm don't know if this was a specific requirement to set the runner on MacOS.