Skip to content
This repository was archived by the owner on Sep 27, 2024. It is now read-only.

balena-io-hardware/general-appTestExample-sw

Repository files navigation

Demo GitHub action for AutoKit testing

Nomenclature

  • DUT: Device Under Test

Pin target test device under test to draft release

The first step is to look up the draft release associated with the commit under test. This must be done in order to pin a predetermined device (via UUID) to the draft release that has been pushed to balenaCloud.

graph TD;
    A[Authenticate with balena sdk]-->B;
    B[Get release id from balenaCloud using commit hash]-->C;
    C[Pin device under test to draft release from previous action]-->D;
    D[Confirm device has downloaded pinned release]-->E[Confirm device is running pinned release];
Loading

Run npm run balena-test in GitHub action

Within this balena-test script, we expect there to be two types of workflow: one where the GitHub runner interacts directly with the DUT and the other where the GitHub runner interacts with an AutoKit which controls the DUT.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •