📱 Run Mobile App Automation - dvsa/des-workflow-actions GitHub Wiki

Description

This GitHub Actions workflow automates the execution of mobile app automation tests. It checks out the specified branch, sets up the required environment, configures AWS credentials, retrieves secrets, prepares the app file, runs the specified tests, generates reports, and deploys the reports to GitHub Pages.

Workflow Triggers

On Workflow Call

This workflow is called from the dvsa-des-automation repository on a schedule.

Environment Variables

Name Description
DES_ACCESS_TOKEN The access token required to access the DVSA private packages
AWS_ACCOUNT_ID AWS Account ID for the MGMT account
DVSA_AWS_REGION The AWS region for deployment (defined as org secret)
DES4_ARTEFACT_S3 S3 bucket for storing app artefacts and credentials.json
VERSION The version of the automation report

Inputs

Name Description Options
branch Branch name to run tests from N/A
test-type The type of test to run suite | spec
test-to-run The test suite or spec to run default: desfull

Notes

  • This workflow assumes the presence of required dependencies and configurations for running mobile app automation tests.
  • The app file and credentials are retrieved from AWS S3.
  • The generated reports are deployed to GitHub Pages for viewing.