Skip to content

Running integration tests with CI service #148

@HakkyuKim

Description

@HakkyuKim

I tried several ways to run emulators in CI server for integration tests but concluded that it just cannot be done without digging into how Tizen emulators work under the hood. I did manage to run the emulator, but sdb can't find it: https://cirrus-ci.com/task/5968653813284864 (test branch: https://github.com/HakkyuKim/plugins/tree/cirrus).

Look for:

em-cli launch --name flutter_emulator
Launch command : "/home/tizen/tizen-studio/platforms/tizen-4.0/common/emulator/bin/emulator.sh" --conf "/home/tizen/tizen-studio-data/emulator/vms/flutter_emulator/vm_launch.conf" -j "/home/tizen/tizen-studio/jdk/bin/java"
The VM is launched
...

sdb devices
List of devices attached 

So instead, I'm considering running integration tests on our machine that's connected to physical targets using Azure Pipelines self-hosted agent.

There are a few considerations:

  • Corporate policy regarding network security (I'll start asking around next week)
  • Pricing
    According to pricing for Azure DevOps, we need at minimum "User License: Basic Plan", which is free for the first 5 users.
  • Cost of maintenance
    The host machine and the Tizen devices attached to it.

Personally I think it's the best option to do CI for plugin integration tests and possibly future engine regression tests. Please share any ideas or suggestions.

TODOs:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions